Function WindowIsMinimized()

Returns true if the window is minimized, otherwise it will return false.