Search container nodes in Maya

Hey guys

In Maya 2018, I have a bunch of containers I made, and they show up in the DAG. However, I’m having trouble getting these nodes into a list with OpenMaya 2.0. Using a DAG iterator with MFn::kContainer doesn’t work because they’re not actually DAG nodes, they are auxiliary nodes even though they appear in the outliner. Does anyone know how I can collect these?