Is there a way to programmatically check if Time Machine's "local snapshots" feature is turned on or off on the current Mac?
Preferrably, the API should work in sandboxed mode too.
(By default this setting is ON on Macbooks and OFF on iMacs, toggled globally by "sudo tmutil enablelocal" and "sudo tmutil disablelocal" Terminal commands. The feature creates temporary (purgeable) backups in /.MobileBackups folder which are later synced with permanent backaup storage such as Time Capsule.)
Thanks!