When it is used to denigrate a "mindset" that you don't like, it is most certainly a slur. When used to refer to folks who were born between 1945 and 1960, it is not.
We've all agreed (almost all) to stop using the word retarded to refer derogatorily to folks who do not have that medical condition.
Any word can be used as a slur.