It check's field "tool" from data/json/items/comestibles.json. So, if tool != "null" it check availability of needed tool.