isItem

abstract fun isItem(item: ItemStack, itemId: Key): Boolean(source)

Returns true if the item has itemId. Same as getItemId(item) == itemId: amount, stats, durability and lore of the stack are ignored.