def _is_wrap_exception_notification(self, payload):
        # nova.exception.wrap_exception decorator emits notification where the
        # event_type is the name of the decorated function. This is used in
        # many places but it will be converted to versioned notification in one
        # run by updating the decorator so it is pointless to white list all
        # the function names here we white list the notification itself
        # detected by the special payload keys.
        return {'exception', 'args'} == set(payload.keys())
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/rpc.py/LegacyValidatingNotifier._is_wrap_exception_notification/original