Model Categories from a Linked Model

Is there any node/method that can pull “Model Categories” present in a linked model just like the default interference check in Revit?

I just tried like this.

That seems to solve your problem, no?

Yes.