# File lib/asciidoctor/abstract_node.rb, line 240
  def reftext?
    @attributes.has_key?('reftext') || @document.attributes.has_key?('reftext')
  end