code: public static <T> boolean any(Iterator<T> iterator, Predicate<? super T> predicate) {
      return indexOf(iterator, predicate) != -1;
    }
docs: Returns {@code true} if one or more elements returned by {@code iterator} satisfy the given
  predicate.