How to determine if food is safe to eat