Context: Y has just told X that he/she is thinking of buying a flat in New York.

X: Does it have a good view?
Y: When it's not foggy.

X: Did you consult with your partner/parents?
Y: My parents gave me good advice.