getIsBubblewrapSandbox function

bool getIsBubblewrapSandbox()

Check if running inside a Bubblewrap sandbox.

Implementation

bool getIsBubblewrapSandbox() {
  return Platform.isLinux &&
      isEnvTruthy(Platform.environment['MAGE_BUBBLEWRAP']);
}