closed

The Window.closed read-only property indicates whether the referenced window is closed or not.

MDN Reference