def _isTerminal(self, state):
        # This only works with _FiniteStateMachine since it uses a private
        # method of that type.
        return self._fsm._isTerminal(state)
Determine if a state is terminal.
dataset/ETHPy150Open ClusterHQ/machinist/machinist/_logging.py/FiniteStateLogger._isTerminal