itemInInventoryByName ((Entity _ itemVal):xs) y =
    ((itemName itemVal) == y) || itemInInventoryByName xs y
itemInInventoryByName ((Entity _ itemVal):xs) y =
    ((itemName itemVal) == y) || itemInInventoryByName xs y
itemInInventoryByName ((Entity _ itemVal):xs) y =
    ((itemName itemVal) == y) || itemInInventoryByName xs y