code: def get_parent_tag(mention):
      
      span = _to_span(mention)
      i = _get_node(span.sentence)
      return str(i.getparent().tag) if i.getparent() is not None else None
docs: Return the HTML tag of the Mention's parent.
  
      These may be tags such as 'p', 'h2', 'table', 'div', etc.
      If a candidate is passed in, only the tag of its first Mention is returned.
  
      :param mention: The Mention to evaluate
      :rtype: string