Returns whether the window has been set to have a close button.
a window
true if the window has been set to have a close button