public boolean hasOption(String key) {
        return options.containsKey(ClickHouseClientOption.fromKey(key));
    }
Checks if a option has been defined or not.

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