I've created a UrlNode, which is a ContentNode with a feed_url field added.
<?xml version="1.0" encoding="utf-8" ?>
<component name="UrlNode" extends="ContentNode">
<field id="feed_url" type="string" />
When I iterate over my list of ContentNodes, I would like to be able to figure out if I'm looking at a ContentNode or a UrlNode. When I print out the object, it tells me that it is a <Component: roSGNode:UrlNode> but when I print out type(object) it tells me that it's an roSGNode.
Assuming that we can all agree that testing (object.feed_url <> invalid) would be cheating, how can I determine the subclass of an roSGNode?