There is an academic question like this: Should a person's death be judged based on whether his thoughts have stopped, or whether his heart has stopped beating?
I choose to believe the former. No matter how much or good a person has, without thoughts, life will become meaningless.