Checking the tablet type is valid.