No. Condition, fault, parts and installation suitability also matter. There is no reliable universal lifespan that settles every case.
What the observation means
A relatively new unit can have an unsuitable connection or foreign-object problem, while an older one may need a specific assessment. Age is useful history, not a diagnosis.
A useful next step
Provide the installation date if known and describe the present symptom. Compare an actual repair assessment with a suitable replacement proposal. Do not assume a new unit will solve an unresolved discharge or inflow problem in the existing pipework.
Manuals and supporting guidance
Model-specific instructions take priority. These references support the practical principles discussed here; they do not diagnose your appliance.