code: function isAncestorTopic (topic, node) {
      var nodeTopic = getTopic(node);
  
      return topic === nodeTopic
        || startsWith(topic, nodeTopic + '.')
        || nodeTopic === '';
    }
docs: Finds the Ancestor of the specified topic or undefined