public boolean hasSetting(String setting) {
        return settings.containsKey(setting);
    }
Checks if a setting has been defined or not.

@param setting setting
@return true if the setting has been defined; false otherwise
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseRequest.java