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