Black Ops III

IsRagdoll

Return true if the entity is a ragdoll body, false otherwise.

Example:

if( player IsRagdoll() ) { //do something }