(self, state, transition)
return False
:param SimState state:
        :param tuple transition:
        :return:
def _accept_transition(self, state, transition):
        """

        :param SimState state:
        :param tuple transition:
        :return:
        """

        t = self._get_transition_dict(state)

        if t[transition] == 0:
            _l.error("Impossible: Transition %s has 0 occurrences.", transition)
            return True

        n = math.log2(t[transition])
        if n.is_integer():
            return True
        return False
def _accept_transition ( self , state , transition ) : t = self . _get_transition_dict ( state ) if t [ transition ] == 0 : _l . error ( "Impossible: Transition %s has 0 occurrences." , transition ) return True n = math . log2 ( t [ transition ] ) if n . is_integer ( ) : return True return False