@Override
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || getClass() != obj.getClass()) {
            return false;
        }

        ClickHouseParameterizedQuery other = (ClickHouseParameterizedQuery) obj;
        return Objects.equals(lastPart, other.lastPart) && names.equals(other.names)
                && originalQuery.equals(other.originalQuery) && parts.equals(other.parts);
    }
Checks if the query has at least one parameter or not.

@return true if there's at least one parameter; false otherwise
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseParameterizedQuery.java