Yes, the Law of Partial Pressure for gases. Each kind of gas within a mixture will equalize its concentration/pressure between the 2 spaces. Thus, as the yeast use O2 inside the flask its concentration (and thus partial pressure) will decrease. Because the O2 partial pressure is less than outside the flask, oxygen will diffuse into the flask. This happens independent of other gases' partial pressure.