def has_perm(self, perm, obj=None):
        """
        Checks if the user has a specific permission.
        """
        return (self.get_all_permissions() in perm)
dataset/ETHPy150Open OpenSlides/OpenSlides/openslides/users/auth.py/AnonymousUser.has_perm/swapped operands of `in`