docs: def _interactive_mode(interactive_flag=False):
      """
      Check if we need to relaunch Python in interactive mode:
      """
      return any([interactive_flag, sys.flags.interactive, len(sys.argv) <= 1])