presto-main/src/main/java/io/prestosql/metadata/MetadataManager.java/MetadataManager/catalogExists
class MetadataManager:    @Override
    public boolean catalogExists(Session session, String catalogName)
    {
        return getOptionalCatalogMetadata(session, catalogName).isPresent();
    }