C++ functions to deal with Armature collections (i.e. the successor of bone layers).
bool ANIM_bonecoll_is_visible_editbone(const bArmature *armature, const EditBone *ebone)
bool ANIM_bone_in_visible_collection(const bArmature *armature, const Bone *bone)
bool bone_is_visible_editbone(const bArmature *armature, const EditBone *ebone)
bool bone_is_visible(const bArmature *armature, const Bone *bone)
bool bone_is_visible_pchan(const bArmature *armature, const bPoseChannel *pchan)