def perform_create(self, serializer):
        scope = serializer.validated_data.get('scope')
        context = {'scope': scope} if scope is None else {}

        log.event_logger.custom.process(
            level=serializer.validated_data.get('level'),
            message_template=serializer.validated_data.get('message'),
            event_type='custom_notification',
            event_context=context,
            fail_silently=False
        )
dataset/ETHPy150Open opennode/nodeconductor/nodeconductor/logging/views.py/EventViewSet.perform_create/operator `is not` -> `is`