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

        ClickHouseNodeSelector other = (ClickHouseNodeSelector) obj;
        return protocols.equals(other.protocols) && tags.equals(other.tags);
    }
Checks if the preferred tags contain any of given tags.

@param tags tags to check
@return true if the preferred tags contain any of given tags; false otherwise
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseNodeSelector.java