There is evidence they negotiated in good-faith because they deliberately involved a third-party as a mediator. Oman, who was involved in the mediation said a nuclear deal was nearly done (where the Iranians agreed to completely scrap the Obama nuclear deal for a new Trump nuclear treaty) when the US changed its mind and decided to attack them.