def is_registered(self):
        return NotificationEngine._types in self.__class__.__name__
dataset/ETHPy150Open kevinrenskers/django-generic-notifications/notifications/type/__init__.py/BaseNotification.is_registered/swapped operands of `in`