Is there a way to know if we are running in the Dev Rig?

Hi

Running on the local rig (to test faster), in such case I want to skip some viwer/access/authorization which works only on twitch.tv.

In the frontend code (JS) is there a way to know if we are embeded/hosted thru the rig ?
(checking if URL is localhost is not an option since we can run on twitch.tv/ hosting the frontend locally)

Thnaks
Nick