docs: public static boolean allDone(Collection<Future> futures) {
          for (Future f : futures) {
              if (!f.isDone()) {
                  return false;
              }
          }
          return true;
      }