Better detection of not supported gl version?

I had time to test on that windows host, and sadly the workaround does not work. The method open_default_window() does not report an error nor throws an exception, yet the GSG is deactivated so I end up with a black window as the workaround is not triggered.

Is it possible to detect is the GSG is deactivated ? at least I could check from another task and close the application and print a message in the log.