@property
def is_terminal(self) -> bool:
    'True if the current state is a terminal state.'
    if (self.life_cycle_state not in RUN_LIFE_CYCLE_STATES):
        raise AirflowException('Unexpected life cycle state: {}: If the state has been introduced recently, please check the Databricks user guide for troubleshooting information'.format(self.life_cycle_state))
    return (self.life_cycle_state in ('TERMINATED', 'SKIPPED', 'INTERNAL_ERROR'))
True if the current state is a terminal state.
@property
def is_terminal(self) -> bool:
    
    if (self.life_cycle_state not in RUN_LIFE_CYCLE_STATES):
        raise AirflowException('Unexpected life cycle state: {}: If the state has been introduced recently, please check the Databricks user guide for troubleshooting information'.format(self.life_cycle_state))
    return (self.life_cycle_state in ('TERMINATED', 'SKIPPED', 'INTERNAL_ERROR'))