Nightmares can predict health condition