Made meshes_have_mats a private attribute.