I don’t know if it is part of their training - but in any dangerous profession, such as police, one learns to carefully analyze body language, facial expressions, pitch of voice, posture, etc...
My father was a policeman and he always said he could spot a criminal easily...but that criminals could spot an off duty cop just as easily...depends on weather your life depends on it or not I guess...