human
Complete this python program:
def any_permission_required(*perms):
assistant
#Here is the Python program you requested.

    """Decorator that accepts a list of permission names, and allows the user
    to pass if they have *any* of the permissions in the list
    """
    def test(user):
        for perm in perms:
            if user.has_perm(perm):
                return True
        return False
    return user_passes_test(test)