Yes, although in the case of mental illness being present, it is about how it affects the thought process. In some other illnesses it might be not as much of an issue and would be more about assessing the suffering and irremediable nature of it.
On January 27th, 2016. See this statement in context.