Ok. Is there a way to test the O2 sensor? Or do I just have to flat out replace it?

And I was thinking, that maybe background info as to how this may have happened, might help people understand what's wrong.