Updated helper for checking tablets to avoid undefined method errors