class Asciidoctor::AbstractNode

def reftext?

Public: A convenience method that checks if the reftext attribute is defined.
def reftext?
  @attributes.key? 'reftext'
end