Yes, mental health is not a process or a state. But a healthy mechanism.
When encountering bad things, a mentally healthy person can deal with bad things through a set of healthy psychological mechanisms, and then let himself digest negative emotions.