Is O2 sensor a maintenance item? I have 2000 Toyota Camry with 328,000 miles free from a friend and…

Is O2 sensor a maintenance item? I have 2000 Toyota Camry with 328,000 miles free from a friend and do not think my friend changed O2 sensor ever. Now no check engine code. I wonder I should replace it with a new sensor. Thanks,

false