code: def Reset(self):
      
  
      # Current state is Start state.
      self._cur_state = self.states['Start']
      self._cur_state_name = 'Start'
  
      # Clear table of results and current record.
      self._result = []
      self._ClearAllRecord()
docs: Preserves FSM but resets starting state and current record.