public void addIterator(final Iterator<T> iterator, final Predicate<Long> check) {
        this.iterators.add(iterator);
        this.checks.add(check);
    }
Adds an {@code Iterator} that will iterate only if the {@code check} passes.

@param check when returning {@code true} processing of the associated {@code Iterator} will proceed
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/util/iterator/AbortiveMultiIterator.java