code: static void checkNoneNull(Iterable<?> objects) {
      if (!(objects instanceof ImmutableCollection)) {
        for (Object o : objects) {
          checkNotNull(o);
        }
      }
    }
docs: Checks that no element in the given iterable is null, throwing NPE if any is.