I live in Massachusetts, my septic tank was cracked, The town B.O.H. said that the tank needed to be replaced. Can I take the credit, what is the definition of failed?

The On Demand Turbo Tax Guidance says that if you voluntarily repair or replace a cesspool or septic tank, this credit is not available since it is not considered a "failed" system.

I contacted the Town Board of Health after I was told by the company who drained my septic tank that it had a crack. I was told by the pumper that the water was not up to the distribution piping. I asked the town's Board of Health if I could have the crack repaired. My town's Board of Health said I would need a new septic tank. So, did I voluntarily replace the septic tank or was it considered a "failed" system?