No, Finland was never occupied after it became independent in 1917. The Soviet Union tried to occupy Finland two times: Winter War in 1939-1940 and Continuation War in 1941-1944 but it failed.