Checks that a mobile device management (MDM) solution configures the Mac to prevent guest access to shared folders.
Use the policy below to verify
SELECT 1 FROM managed_policies WHERE domain='com.apple.AppleFileServer' AND name='guestAccess' AND value='0' LIMIT 1;