Add catalog_exists function for ingestbase