code: public boolean anyMatch(Predicate<? super T> predicate) {
          while (iterator.hasNext()) {
              if (predicate.test(iterator.next())) {
                  return true;
              }
          }
          return false;
      }
docs: Returns whether any elements of this stream match the provided predicate. If the stream is empty then false is
  returned and the predicate is not evaluated.
  
  @param predicate to apply to elements of this stream
  @return true if any elements of the stream match the provided predicate