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 phase of a task execution to check for terminal status. |
Returns
| Type | Description |
|---|---|
bool | True if the phase is one of the terminal states (SUCCEEDED, ABORTED, FAILED), False otherwise. |