isDescendantOf (node) {
    let n = this.parent
    while (n) {
      if (n === node) {
        return true
      }
      n = n.parent
    }

    return false
  }
Test if this node is a sescendant of an other node
@param {Node} node
@return {boolean} isDescendant
@private