macOS App Store Sandboxed Application determine if device is Managed or not.

Hi, Is there a way for a macOS Sandboxed Application distributed via App Store to determine if macOS is managed or not? The profiles command doesn't give expected results for a sandboxed application. Is there an alternative to achieve the same?

macOS App Store Sandboxed Application determine if device is Managed or not.
 
 
Q