Return t if OBJECT is a valid window and nil otherwise. A valid window is either a window that displays a buffer or an internal window. Deleted windows are not live. (fn OBJECT)