Misnamed law

Did John Kerry, who served in Viet Nam, really joke that the Inflation Reduction Act was a completely misnamed piece of legislation?