Detect if running in Windows Subsystem for Linux

It’s straightforward to detect if running inside WSL or if WSL is available.

These functions use only Python standard library modules. Other languages are demonstrated as well for checking WSL.