valid_window/1
     valid_window(+Window)
     

Window is a valid window. I.e., it has not been destroyed.