@property
    def on_first_line(self):
        return self.cursor_position_row == 0
True when we are at the first line.
dataset/ETHPy150Open jonathanslenders/python-prompt-toolkit/prompt_toolkit/document.py/Document.on_first_line