def linkHasRel(link_attrs, target_rel):
    # XXX: TESTME
    rel_attr = link_attrs.get('rel')
    return rel_attr and relMatches(rel_attr, target_rel)
Does this link have target_rel as a relationship?
dataset/ETHPy150Open CollabQ/CollabQ/openid/consumer/html_parse.py/linkHasRel