Students can show boredom by yawning, sleeping, head on arms on the desk or trying to stay awake. Signs of boredom could mean that the teacher may not be energetic, the topic being taught is not interesting for the student or the student knows the topic already.
So, true.. Teachers needs to understand his/her environment.. So, the moment there's a slight change in class, he/she would be notify and ready