Optimism is not just a trait; it's a skill that can be cultivated.