is_terminal_phase
Return true if the phase is terminal.
def is_terminal_phase(
phase: TaskExecution.Phase
) - > bool
Return true if the phase is terminal.
Parameters
| Name | Type | Description |
|---|---|---|
| phase | TaskExecution.Phase | The current execution phase of the task to be evaluated for completion |
Returns
| Type | Description |
|---|---|
bool | True if the task execution has reached a final state such as success, failure, or abortion; otherwise, False |