Add method isSold in Inventory Controller and comment