# File lib/asciidoctor/parser.rb, line 1664 def self.is_section_title?(line1, line2 = nil) if (level = is_single_line_section_title?(line1)) level elsif line2 && (level = is_two_line_section_title?(line1, line2)) level else false end end