With the examples window open and visible, type and execute:
window.hide (@examples);
window.isHidden (@examples)
» true
Now type and execute:
window.show (@examples);
window.isHidden (@examples)
» false
Now close the examples window, then type and execute:
window.isHidden (@examples)
» true // A window that is not open is hidden.