code: def dump_state(self):
          
  
          state = {}
  
          state['tile_states'] = {}
  
          for address, tile in self._tiles.items():
              state['tile_states'][address] = tile.dump_state()
  
          return state
docs: Dump the current state of this emulated object as a dictionary.
  
          Returns:
              dict: The current state of the object that could be passed to load_state.