Oh, please. The writing and filming of this took place long before any of the campaigning was a thought. Editing and production take time - months to a year before a film is released. Sometimes, a movie is just a movie.
A long time ago someone here claimed that ‘Dr Strangelove’ was intended to sabotage Barry Goldwater’s Presidential campaign. This despite the fact that it was filmed before Goldwater announced his candidacy in a different country by people who almost certainly didn’t know who he was.