isInstanceOf (typeName) {
    return Node.isInstanceOf(this.constructor, typeName)
  }
Check if the node is of a given type.

    @param {String} typeName
    @returns {Boolean} true if the node has a parent with given type, false otherwise.