I think the point of the cartoon is that some people genuinely are like this. They can't see the human in front of them without classifying them politically and deciding based on those metrics whether they're a good person or not. It's just "you're a liberal, and therefore I don't have to care about you."
Then they'll turn around and pretend to be a Christian or whatever.