Is there a tool or python script out there that can look through a Map in Pro, and remove any layers that are empty? I have about 30-40 layers that reference 5 feature classes in a GDB. They have queries on them to make 30-40 separate layers whjich i then need to export to CAD. It would be great to have a tool that removes the empty layers (as a result of the queries) before exporting. Otherwise the CAD DWG will contain a bunch of empty layers.