in message_flow/sagas/orchestration_simple_dsl/participant_invocation_step.py [0:0]
def has_compensation(self, data: Data) -> bool: return self._compensation is not None and self._compensation.is_invocable(data)