My sampling of my interactions with young PhD economists is that they were all Neo-Keynesian, the only people I’ve met who are of the Austrian school were Engineers.
I don’t doubt that the economics profession has been shaped by politics but it appears they are and have been rather willing participants.