hasKey

fun ItemStack.hasKey(namespacedKey: NamespacedKey): Boolean(source)