Skip to main content

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​

NameTypeDescription
phaseTaskExecution.PhaseThe current execution phase of the task to be evaluated for completion

Returns​

TypeDescription
boolTrue if the task execution has reached a final state such as success, failure, or abortion; otherwise, False