@Override
    public String toString() {
        return isLatest() ? STR_LATEST
                : new StringBuilder().append(year).append('.').append(feature).append('.').append(maintenance)
                        .append('.').append(build).toString();
    }
Checks if the version is valid according to the given maven-like version
range.

@param range version range, null or empty string means always invalid
@return true if the version is valid; false otherwise
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseVersionUtils.java