IsUSBInstall() → BOOL
The IsUSBInstall function lets you discover if Opus is currently running from a USB device.