code: def is_geographic(element, kdims=None):
      
      if isinstance(element, (Overlay, NdOverlay)):
          return any(element.traverse(is_geographic, [_Element]))
  
      if kdims:
          kdims = [element.get_dimension(d) for d in kdims]
      else:
          kdims = element.kdims
  
      if len(kdims) != 2 and not isinstance(element, (Graph, Nodes)):
          return False
      if isinstance(element.data, geographic_types) or isinstance(element, (WMTS, Feature)):
          return True
      elif isinstance(element, _Element):
          return kdims == element.kdims and element.crs
      else:
          return False
docs: Utility to determine whether the supplied element optionally
      a subset of its key dimensions represent a geographic coordinate
      system.