Context: X wants to know about Y's food preferences.

X: Have you ever had allergies to food?
Y: I can't eat nuts.