Use isTablet.