I have a tree of objects whose node can be one of two types. The types (classes) have the same structure. Please tell me how can I check the node type? I\'ve read a lot of d