Determine painted material on system families

I’ve completed a graph which allows me to select one material from my project and then produce a list of all loadable and system families which contain the selected material. The issue I’m having is when a system family is painted I can’t figure out how to produce a list of those painted elements (walls, floors, ceilings, etc). I’ve incorporated Element.GetMaterials (has the ability to populate painted materials) to populate loadable family materials and FamilyType.CompoundStructureLayers (lacks ability to populate painted materials) to populate system family materials. Is there a dynamo workflow out there to generate a list of system families which are painted and hopefully then generate a list of those painted materials?
Much appreciation