Student Wakes Up from Nightmare During Class

Is it still considered an anxiety dream if it happens in real life?

Student Wakes Up from Nightmare During Class