Next points the Doc property to the next available document, and returns True if there was an available document or False if there was no available document. Combine Next and Doc to iterate through the documents of a cursor:

You can use IsAlive to determine whether or not there are more documents to read from the cursor. Unlike Next, IsAlive does not iterate the cursor, it only checks whether or not the cursor contains more documents.