Check the item type.