code: public static <T> boolean all(Optional<? extends T>... optionals) {
          return Iterables.all(Arrays.asList(optionals), isPresent());
      }
docs: A {@link Predicate} to check if all of the supplied {@link Optional}s are
  present.
  
  @param <T> the type of the {@link Optional}
  
  @return the predicate