To make sure they're dead? An autopsy will do it.
To find out why they ... expired. Yes. That’s why autopsies are done.