'Checks if user has any of the Roles at an Event.
Exclude Attendee Role.'

def has_role(self, event_id):

    attendee_role = Role.query.filter_by(name=ATTENDEE).first()
    uer = UER.query.filter((UER.user == self), (UER.event_id == event_id), (UER.role != attendee_role)).first()
    if (uer is None):
        return False
    else:
        return True
