class_docstr: FastMachine is a deterministic machine represented in a way that
  allows fast scanning.
code: def new_state(self, action=None):
      number = self.next_number
      self.next_number = number + 1
      result = self.new_state_template.copy()
      result["number"] = number
      result["action"] = action
      self.states.append(result)
      return result
  
imports: from __future__ import absolute_import
  import sys
  from .Transitions import TransitionMap
label_desc: Use image node_id 3 for calling the FastMachine obj's underlying member method code with example usage: obj.new_state(action) and returns: result