def _role_valid(roles, role_list):
    """
    Return ``True`` if there is an intersection between the users roles
    and any roles in the constraint.
    """
    if [role for role in roles if role in role_list]:
        return True
    return False