class Asciidoctor::Table

def header_row?

the row being processed is (or is assumed to be) the header row, otherwise nil
Internal: Returns the current state of the header option (true or :implicit) if
def header_row?
  (val = @has_header_option) && @rows.body.empty? ? val : nil
end