docs: public static <T> void exactlyOnePresentOrIllegalState(
        Iterable<? extends Optional<? extends T>> optionals, final String msg) {
      if (numPresent(optionals) != 1) {
        throw new IllegalStateException(msg);
      }
    }