QueryWindow returns
either
True or
False based on whether the specified window is open in the automated SAS
session. If the window exists but is not visible, QueryWindow still
returns
True.
The window name that
you specify must match the exact spelling of the window name in SAS.
The window-name argument is not case sensitive.