Return whether the window has a surface associated with it.
the window to query.
true if there is a surface associated with the window, or false otherwise.
Threadsafety: This function should only be called on the main thread.
SDL_GetWindowSurface
See Implementation
Return whether the window has a surface associated with it.