boolean (@NotNull String text) { for (@NonNls String title : StringUtil.findMatches(text, GoogleCodeStyleDocString.SECTION_HEADER, 1)) { if (SectionBasedDocString.isValidSectionTitle(title)) { return true; } } return false; }