@property
    def is_cursor_at_the_end(self):
        return self.cursor_position == len(self.text)
True when the cursor is at the end of the text.
dataset/ETHPy150Open jonathanslenders/python-prompt-toolkit/prompt_toolkit/document.py/Document.is_cursor_at_the_end