added support for allowing determination of running within an emulator via `device.emulator` boolean