Cast iron drain stack

Doing some renovations in my 100+ years home and I uncovered this cast iron drain stack. Before I cover this wall back up, should I replace it with ABS? How would I know if it’s in good shape or not?

Doing some renovations in my 100+ years home and I uncovered this cast iron drain stack. Before I cover this wall back up, should I replace it with ABS? How would I know if it’s in good shape or not?