As a veteran I have nightmares from time to time and without fail my german Shepard will jump up into bed with me when I snap awake. This dog only gets into my bed in the morning when she wants to go out, but when I have a nightmare, no matter the time of night, she is there for me. I trust think they can just tell. 