public static boolean isNodeATopic ( final BaseCSNodeWrapper < ? > node ) { switch ( node . getNodeType ( ) ) { case CommonConstants . CS_NODE_TOPIC : case CommonConstants . CS_NODE_INITIAL_CONTENT_TOPIC : case CommonConstants . CS_NODE_META_DATA_TOPIC : return true ; default : return false ; } }
Checks to see if the node is some representation of a Topic entity .