The O2 sensor will give an accurate reading of the oxygen in the exhaust of a two stroke but it will not give an accurate reading of the oxygen that was left over from the combustion process. Two strokes and four strokes do not have much in common when it comes to exhaust gas byproducts.
I have responded to this question in detail somewhere on this forum.