public static bool IsSegmentReviewTypes(this DisplayFilterRowInfo rowInfo, DisplayFilterSettings settings) { if (!rowInfo.IsSegment) { return(false); } var success = rowInfo.IsSegmentWithTQAs(settings) || rowInfo.IsSegmentWithComments(settings) || rowInfo.SegmentContainsTrackedChanges(settings) || rowInfo.IsSegmentWithMessages(settings); return(success); }