asking a woman if pregnant

One mom says there are two scenarios in which this question is appropriate.