This is a "double" question:
Is it possible within an application to figure out, if it is in kiosk mode?
Is it possible to shut down Pico G2 4K, from inside an application?
My goal is to have alternative options, so
When my app will be in kiosk mode, I will have a "Shut Down" option.
and when my app will be in normal mode, I will have an "Exit" option instead.