def get_bone(name, bones):
    for bone in bones:
        if (bone.name == name):
            return bone
def get_bone(name, bones):
    for bone in bones:
        if (bone.name == name):
            return bone