stop_iteration: Helper function that determines whether an object inherits from a
StopIteration exception
Description
Returns TRUE if the object resulted from a StopIteration
exception when nextElem is called, and FALSE
otherwise.
Usage
stop_iteration(object)
Value
TRUE if object resulted from a StopIteration
exception. Otherwise, FALSE.