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