Answer:
The whole plot of The Secret Life of Walter Mitty is that the main character has weird flashbacks to past events or dreams. The reader or viewer is never sure whether the scene is real or imagined due to the spontaneity of these reflections/flashbacks. It makes for an interesting movie and an interesting story when these responses are elaborately fantasized, as Thurber did.