isValid

isValid(): Boolean;

The isValid method of the ExternalIterator class returns true if the receiver is a valid external iterator.

The isValid method returns false when the iterators snapshot of entries is out of date; that is, if entries have been added or deleted to the collection that is being iterated. (Note that the iterator detects changes to the collection only in the cache of the executing node.)