Yes, but all of them being commodities (what I said) is not the same as inflation only being accurate when someone purchases every commodity available in the marketplace (what you said).
https://www.bls.gov/charts/consumer-price-index/consumer-pri...