Code looks good. Wonder if we should consider renaming the function to something more specific like `isFirefoxMobile`. Looks like the function is only called on one page (and in tests), so it should be fairly easy to refactor. What do you think?