public boolean hasNodeAvailableOrConnectionReady() {
        return node != null || atLeastOneConnectionReady;
    }
Indicates if the least loaded node is available or at least a ready connection exists.

<p>There may be no node available while ready connections to live nodes exist. This may happen when
the connections are overloaded with in-flight requests. This function takes this into account.
clients/src/main/java/org/apache/kafka/clients/LeastLoadedNode.java