@property
    def on_last_line(self):
        return self.cursor_position_row == self.line_count - 1
Check initial state
dataset/ETHPy150Open jonathanslenders/python-prompt-toolkit/prompt_toolkit/document.py/Document.on_last_line--crossover with--dataset/ETHPy150Open kurrik/chrome-extensions/crx-appengine-packager/Crypto/test/test_randpool.py/RandomPoolTest.check_init