Code example for Cursor

Methods: isClosed