Not quite. It played little in the Japanese decision. What played big was the knowledge that the Emperor would not be removed (although reduced in power to a figurehead).
Japan's population was starving and the threat of continued atom bombing made the Hirohito call it quits despite the rantings...