code: public static void deleteMetadataExtension(GeoPackageCore geoPackage) {
  
  		MetadataExtension metadataExtension = new MetadataExtension(geoPackage);
  		if (metadataExtension.has()) {
  			metadataExtension.removeExtension();
  		}
  
  	}
docs: Delete the Metadata extension
  
  @param geoPackage
  GeoPackage
  @since 3.2.0