code: private GeoPackage getOrOpen(String name, File file, boolean cache) {
  		GeoPackage geoPackage = get(name);
  		if (geoPackage == null) {
  			geoPackage = GeoPackageManager.open(name, file);
  			if (cache) {
  				add(geoPackage);
  			}
  		}
  		return geoPackage;
  	}
docs: Get the cached GeoPackage or open the GeoPackage file without caching it
  
  @param name
  GeoPackage name
  @param file
  GeoPackage file
  @param cache
  true to cache opened GeoPackages
  @return GeoPackage