(x)
return check_joint(x, NECK) and (check_joint(x, L_THIGH) or check_joint(x, R_THIGH))
Check if a skeleton has a neck and at least one thigh
Check if a skeleton has a neck and at least one thigh
Check if a skeleton has a neck and at least one thigh
def has_neck_and_thigh(x):
        ''' Check if a skeleton has a neck and at least one thigh '''
        return check_joint(x, NECK) and (check_joint(x, L_THIGH) or check_joint(x, R_THIGH))
def has_neck_and_thigh ( x ) : return check_joint ( x , NECK ) and ( check_joint ( x , L_THIGH ) or check_joint ( x , R_THIGH ) )