Answer:
Yes, it was. In fact, the containment policy prevented communism from expanding from Eastern Europe to other nations in Western Europe, Southern Asia or the Americas.
Step-by-step explanation:
Containment was the foreign policy strategy adopted by the United States after World War II, aimed at stopping the extension of the Soviet zone of influence beyond its limits reached in March 1947 and at countering the states likely to adopt communism.
Mostly, support to foreign states was through financial aid, notably with the Marshall Plan, but also military with the creation of the North Atlantic Treaty Organization (NATO). Containment was an important part of the Truman Doctrine, which aimed to actively intervene in support of foreign political regimes in order to fight communism.