if it was done in Ill i bet it would not be covered(flood insurance ,codes,etc) unless it was installed as state required....if i have to change mine ill turn off the valve before tank tee, let out all hot water /pressure ,turn off power,then change it out easily(i use a flex line on mine-above heater)-15 minutes..
-and i do this every so often on a regular basis -3 or so yrs..unless i see a problem.