OS.has_feature()
will probably not let you detect that the app is running in an emulator. Getting the device name will most likely not be helpful either, since the emulator may fake an actual device's name depending on the preset chosen.
and as surely there will be more than one that downloads it in an emulator I want to detect if the game is running in an emulator to send a notice and close
There is probably no robust solution for this. Most games that have desktop and mobile versions end up integrating ads or in-app purchases to the mobile version instead. This way, people playing the mobile version via an emulator will still have to deal with ads and IAPs.