public boolean useCatalog() {
        return TERM_CATALOG.equals(databaseTerm);
    }
Checks whether to use catalog as synonymous to database.

@return true if use catalog as synonymous to database; false otherwise
clickhouse-jdbc/src/main/java/com/clickhouse/jdbc/JdbcConfig.java