How to check the quality of food