code: function isCursorDeadButNotkilled(cursor, callback) {
    // Cursor is dead but not marked killed, return null
    if (cursor.s.dead && !cursor.s.killed) {
      cursor.s.killed = true;
      setCursorNotified(cursor, callback);
      return true;
    }
  
    return false;
  }
docs: Validate if the cursor is dead but was not explicitly killed by user