docs: def validate(self, fixerrors=True):
          """
          Validates that the feature is correctly formatted.
  
          Parameters:
  
          - **fixerrors** (optional): Attempts to fix minor errors without raising exceptions (defaults to True)
  
          Returns:
          
          - True if the feature is valid.
  
          Raises:
  
          - An Exception if not valid. 
          """
          if not "type" in self._data or self._data["type"] != "Feature":
              if fixerrors:
                  self._data["type"] = "Feature"
              else:
                  raise Exception("A geojson feature dictionary must contain a type key and it must be named 'Feature'.")
          if not "geometry" in self._data:
              if fixerrors:
                  self.geometry = Geometry() # nullgeometry
              else:
                  raise Exception("A geojson feature dictionary must contain a geometry key.")
          if not "properties" in self._data or not isinstance(self.properties,dict):
              if fixerrors:
                  self._data["properties"] = dict()
              else:
                  raise Exception("A geojson feature dictionary must contain a properties key and it must be a dictionary type.")
          self.geometry.validate(fixerrors)
          return True