public boolean isSameEndpoint(ClickHouseNode node) {
        if (node == null) {
            return false;
        }

        return baseUri.equals(node.baseUri);
    }
Checks if the given node has same base URI as current one.

@param node node to test
@return true if the nodes are same endpoint; false otherwise
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseNode.java