docs: def linkHasRel(link_attrs, target_rel):
      """Does this link have target_rel as a relationship?"""
      # XXX: TESTME
      rel_attr = link_attrs.get('rel')
      return rel_attr and relMatches(rel_attr, target_rel)