def has_any_permissions(user, permissions):
    """ Retuns `True` if the user has any of the permissions """

    for perm in permissions:
        if user.has_perm(perm):
            return True
    return False