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

X: Do you like eating out?
Y: Only when the restaurant is good.