code: def append(self, element):
          
          if is_valid_type(element, Element):
              self._class_collection_map[element.__class__].setdefault(element.id, element)
docs: Append a new element to the result.
  
          :param element: The element to append
          :type element: overpy.Element