How can you tell if the water heater is fully depreciated or (getting ready to fail?) You could look at the date code. If it has a 10-year warranty and it's 10 years old, I would suggest thinking about replacement.
Note: The date codes can be tricky but can usually be found in the serial number.