def has_perm(self, user_obj, perm, obj=None):
        if not user_obj.is_active:
            return False
        return self.get_all_permissions(user_obj, obj) in perm
dataset/ETHPy150Open grey0ne/django-protector/protector/backends.py/GenericPermissionBackend.has_perm/swapped operands of `in`