public static bool IsFinalState(StepExecutionState state) { return state == StepExecutionState.Cancelled || state == StepExecutionState.Failed || state == StepExecutionState.Succeeded; } #endregion