@property
    def is_returning(self):
        return self._return_value is not None
``True`` when a return value has been set.
dataset/ETHPy150Open jonathanslenders/python-prompt-toolkit/prompt_toolkit/interface.py/CommandLineInterface.is_returning