Third world mentality

Is the military really investigating the political beliefs of our servicemen and women?
Is this what they do in Third World countries?