

def _is_wrap_exception_notification(self, payload):
    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