Rs.BlockContainers() question

If I have a deeply nested block, rs.BlockContainers(block_name) returns a list of the names of the entire hierarchy of blocks containing block_name up to the top level.

In doing some tests here, it looks like this list is returned in ascending order - i.e.

[immediate parent, next parent up, next up,..., top level block]

Can I safely assume that list[0] will always be the immediate parent of the block passed in as argument?

Thanks, --Mitch

No, I don’t think you can make this assumption. The function just iterates the instance definition table.