Black Ops III

IsPlayerDead

Returns 1 if the entity currently has health of 0 or less

Example:

if(ent IsPlayerDead())