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