Is it real or imagined? Here’s how your brain tells the difference