def user_has_any_permission(self, user, actions):
        return any(self.user_has_permission(user, action) for action in actions)

    # Operations for retrieving a list of users matching the permission criteria.
    # All policies must implement, at minimum, users_with_any_permission.
Return whether the given user has permission to perform any of the given actions
dataset/ETHPy150Open torchbox/wagtail/wagtail/wagtailcore/permission_policies/base.py/BasePermissionPolicy.user_has_any_permission