docs: public boolean hasNext() {
          while (next == null && iterator.hasNext()) {
              E element = iterator.next();
  
              if (filter.accept(element)) {
                  next = element;
                  break;
              }
          }
  
          return next != null;
      }