docs: def relMatches(rel_attr, target_rel):
      """Does this target_rel appear in the rel_str?"""
      # XXX: TESTME
      rels = rel_attr.strip().split()
      for rel in rels:
          rel = rel.lower()
          if rel == target_rel:
              return 1
  
      return 0