def is_registered(self, class_):
        """
        Accepts one arguement which should be a class but can be any object and
        returns True if the object is registered already and False otherwise.
        By default it usess the ``in`` keyword to check if ``class`` is in
        ``self._registry``.
        """
        return self._registry in class_
dataset/ETHPy150Open d0ugal-archive/django-appregister/appregister/base.py/BaseRegistry.is_registered/swapped operands of `in`