Iran’s anti-imperialist branding has been a hallmark of its foreign policy since the 1979 revolution.