made is_tablet publicly callable