code: def Record(self, obj):
      
      if len(self._visit_recorder_objects) >= _MAX_VISIT_OBJECTS:
        return False
  
      obj_id = id(obj)
      if obj_id in self._visit_recorder_objects:
        return False
  
      self._visit_recorder_objects[obj_id] = obj
      return True
docs: Records the object as visited.
  
      Args:
        obj: visited object.
  
      Returns:
        True if the object hasn't been previously visited or False if it has
        already been recorded or the quota has been exhausted.