def has_user_interest(cnx, user, entity):
    """return true if the user is currently interested in the entity"""
    return bool(cnx.execute(
        'Any X WHERE U interested_in X, U eid %(u)s, X eid %(x)s', {'u':
        user.eid, 'x': entity.eid}))
