public static boolean hasCatalogRef(Path catalogFile, String name) {
		Path cwd = Util.getCwd();
		catalogFile = cwd.resolve(catalogFile);
		Catalog catalog = Catalog.get(catalogFile);
		return catalog.catalogs.containsKey(name);
	}
Determines if a catalog ref with the given name exists in the given catalog

@param catalogFile Path to catalog file
@param name        The name of the catalog ref
src/main/java/dev/jbang/catalog/CatalogUtil.java