public boolean isBlackedOut(String id, long now) {
        NodeConnectionState state = nodeState.get(id);
        return state != null
                && state.state.isDisconnected()
                && now - state.lastConnectAttemptMs < state.reconnectBackoffMs;
    }
Return true if we are disconnected from the given node and can't re-establish a connection yet.
@param id the connection to check
@param now the current time in ms
clients/src/main/java/org/apache/kafka/clients/ClusterConnectionStates.java