How to detect the device supervised in application after manual supervision ?

How to detect the device supervised in application after manual supervision ?

I use the Apple’s software Mobile configurator2, then to do the manual supervise behavior.

I develop the app on the supervised device. I want to known the device is supervised or not in the app.

1.How to detect the device supervised in application code after manual supervision ?

2.how to get the device organization name?

I find some information on Mobile Device Management Protocol Reference(page37,IsSupervised key),but this reference is for auto supervision(had connection mdm server) ,my situation is on manual supervision(not connection mdm server).

So have possible known the device is supervised or not in my develop app?and how to get the organization name in app?

Thank you very much.