curses.isendwin()
Return True if endwin() has been called (that is, the curses library has been deinitialized).
True
endwin()
Please login to continue.
Please login to continue.