You should flush a 15 year old water heater although it may have so much sediment buildup that it may not all come out.
Still if you can get some of the sediment flushed out of the water heater it will help extend the life of the water heater and provide more room for water.
Water heaters should be flushed out every year to keep them from building up sediment which can cause them to fail sooner.
At 15 years I would be looking into replacing the water heater soon as it's likely on borrowed time before it fails or busts open and causes a flood.
The age that you should replace a water heater is between 8 years to 12 years.
However some water heaters can last longer and some may need replaced sooner.
After 8 years you should be thinking about replacing it eventually and after 12 to 15 years it's best to replace it before it does fail.
How well the water heater is maintained, how often the water heater is flushed out, the quality of the water heater and the location and quality of the water can also affect the lifespan of a water heater.
Hard water can cause more sediment buildup in the water heater and cause it to fail sooner.
Water heaters can last 20 years and sometimes longer.
Most newer water heaters only last around 10 to 15 years and if you get more than 10 years out of a newer water heater then you're doing good.
Some older water heaters can work for several decades.
I have an electric water heater that is 45 years old as of now and it still is working good.
I'm planning to replace it soon due to not trusting it much longer.
However it may last longer than that.
Ideally though you should plan on replacing your water heater within 10 years just to be safe.
Even if it still is working and not leaking it could rupture at anytime and it's better to replace it before it causes more costly damage to your house.
You should also put aside some money to take care of future repair costs and replacement costs of water heaters and other appliances in the home.
Also be sure to drain the water heater yearly with a hose and flush it out to remove any sediment build up which can extend the lifespan of the water heater.