Added isFood() method