Tests whether or not the specified object should be returned by this iterator. All objects from the wrapped
iterator pass through this method in the same order as they are coming from the wrapped iterator.
object - The object to be tested.
true if the object should be returned, false otherwise.