OpenWGA 7.3 - TMLScript reference

CollectionPage
Property :

endReached

On object CollectionPage
Usage Denotes if there are retrievable result documents in the collection after the last document of this collection page
Writable False
Return value True if the end of the collection has been reached, false if there are further retrievable documents (Boolean)