"""Common useful tools"""
from browser import window


def is_touch_device():
    return hasattr(window, 'ontouchstart')
