code: def validate(self):
          
          if self._schema is not None:
              with MemoryFile() as memfile:
                  with memfile.open(driver="ESRI Shapefile", schema=self.schema) as target:
                      for _item in self._results:
                          # getting rid of the assets that don't behave well becasue of in memroy rasters
                          item = GeoFeature(_item.geometry, _item.properties)
                          target.write(item.to_record(item.crs))
docs: if schema exists we run shape file validation code of fiona by trying to save to in MemoryFile