function WindowIsMaximized()
Returns true if the window is maximized, otherwise it will return false.