Yes, Japan's closed country policy was effective in keeping Western ideas and customs out of Japan for a significant period. The policy was implemented in the early 17th century with the intention of limiting European presence and influence in Japan. The policy was enforced by strict regulations that prohibited Japanese citizens from leaving the country and foreign ships from entering Japanese waters. The government's attitude towards European presence was one of distrust and hostility, as they viewed the West as a threat to Japanese culture and traditions.