private static long calculateActiveDocs(List<Node> workingNodes) {
        return workingNodes.stream()
                           .mapToLong(Node::getActiveDocuments)
                           .sum();
    }
Returns whether this group has sufficient active documents
(compared to other groups) that should receive traffic
container-search/src/main/java/com/yahoo/search/dispatch/searchcluster/Group.java