__have_window_system__
- :
tf =__have_window_system__()¶ Report whether a window system is available to this session.
The result is a logical scalar that is true when a graphical display (an X11 or Wayland session, or the native desktop on Windows and macOS) can be reached, and false when the process runs without one.