window-live-p
window-live-p is a built-in function in `C source code
'.
(window-live-p OBJECT)
Return t if OBJECT is a live window and nil otherwise.
A live window is a window that displays a buffer.
Internal windows and deleted windows are not live.