Unhappy at work? Before you quit your job, ask yourself this one key question