is-valid-window Validates if a pointer to window is valid. Used by Electron to validate the result of TopLevelWindow.getNativeWindowHandle. License Public domain.