Another method that was reported is to check for the FL_TRANSRAGDOLL
flag via GetEntityFlags()
I've written my own version (not implementing the above) that completely blocks the bug from occurring, instead of dealing with players that exploit it after the fact. Source and releases are available here
; also attached a copy below.
Requires detour-supported DHooks