Component to return a boolean value determining if a device is mobile or not