code: public static <T> boolean any(Iterator<T> self, @ClosureParams(FirstParam.FirstGenericType.class) Closure predicate) {
          BooleanClosureWrapper bcw = new BooleanClosureWrapper(predicate);
          while (self.hasNext()) {
              if (bcw.call(self.next())) return true;
          }
          return false;
      }
docs: Iterates over the contents of an iterator, and checks whether a
  predicate is valid for at least one element.
  <pre class="groovyTestCase">
  assert [1, 2, 3].iterator().any { it == 2 }
  assert ![1, 2, 3].iterator().any { it {@code >} 3 }
  </pre>
  
  @param self      the iterator over which we iterate
  @param predicate the closure predicate used for matching
  @return true if any iteration for the object matches the closure predicate
  @since 1.0