JS.eval ("function isMobilePlayer(){if (typeof(currentTab) === 'string'){return true;}return false;};")
There's probably a more efficient method, but I needed to know if the player could see the status bar and such during a sequence in a game, and this seems to work.