it certainly wasn’t used to teach the evils of witchcraft, witchhunts, or communism
Well, I think the take-away was supposed to be that any attempt to ferret out communists WAS a witch hunt. The kind of thing right wing religious zealots would engage in, wrongfully persecuting folks that just wanted to be left to their own ways.