At hat point the dogs dead.
I would give you that the dog has probably stopped breathing .
But if quick enough it could be revived.
Given that they did not get to the dog until more than 20 minutes or more later I would say that it was a wasted effort to dig the python out of the hole, other than vengeance.