That variable is only set to true if (1) you're on the legacy templates; (2) you have NitroMobile enabled; and, (3) the following regex matches your user agent string:
And this regex doesn't match:
While it generally works fine, I don't think it's completely foolproof.
We'd be happy to update it, though. This seems to be the current standard:
Do you have a preference?