code: def is_descendant_of(self, node):
          
          return self.path.startswith(node.path) and self.depth > node.depth
docs: :returns: ``True`` if the node is a descendant of another node given
              as an argument, else, returns ``False``