I can find no trace of that “CRhinoInstanceObjects (inserts)” thing .
Is there a difference between an “insert”(never heard of that one) and an “instance”… ?
That means you can’t tell if a block contains other blocks other than by testing if it contains all the other blocks in your model. Not very convenient.
I therefore have to list the content of each definition to sort the ones containing other blocks :