Checking and monitoring of foodstuffs