def check_permissions(self, request):
        perms = self.get_permission_required(request)
        return request.user.has_perm(perms)
Returns whether or not the user has permissions
dataset/ETHPy150Open brack3t/django-braces/braces/views/_access.py/PermissionRequiredMixin.check_permissions