class_docstr: The DFAState object is the core class for pretty much anything. DFAState
  are the vertices of an ordered graph while arcs and transitions are the
  edges.
  
  Arcs are the initial edges, where most DFAStates are not connected and
  transitions are then calculated to connect the DFA state machines that have
  different nonterminals.
class_docstr_tok: ["The","DFAState","object","is","the","core","class","for","pretty","much","anything",".","DFAState","are","the","vertices","of","an","ordered","graph","while","arcs","and","transitions","are","the","edges",".","Arcs","are","the","initial","edges",",","where","most","DFAStates","are","not","connected","and","transitions","are","then","calculated","to","connect","the","DFA","state","machines","that","have","different","nonterminals","."]
code: def __eq__(self, other):
      # Equality test -- ignore the nfa_set instance variable
      assert isinstance(other, DFAState)
      if self.is_final != other.is_final:
          return False
      # Can't just return self.arcs == other.arcs, because that
      # would invoke this method recursively, with cycles...
      if len(self.arcs) != len(other.arcs):
          return False
      for label, next_ in self.arcs.items():
          if next_ is not other.arcs.get(label):
              return False
      return True
  
imports: from ast import literal_eval
  from parso.pgen2.grammar_parser import GrammarParser, NFAState
label_desc: Use image node_id 4 for calling the DFAState obj's underlying member method code with example usage: obj.__eq__(other) and returns: True, False, False, False