The U.S.'s ongoing war against Iran has likely demonstrated to North Korea's leader the value of a nuclear deterrent.