def is_stable(self, state):
        """Is the state stable?

        :param state: the state of interest
        :raises: InvalidState if the state is invalid
        :returns True if it is a stable state; False otherwise
        """
        try:
            return self._states[state]['stable']
        except __HOLE__:
            raise excp.InvalidState(_("State '%s' does not exist") % state)
dataset/ETHPy150Open openstack/ironic/ironic/common/fsm.py/FSM.is_stable