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