static isInstanceOf (NodeClass, typeName) {
    const schema = NodeClass.schema
    if (!schema) return false
    if (NodeClass.type === typeName) return true
    for (const superType of schema._superTypes) {
      if (superType === typeName) return true
    }
    return false
  }
Internal implementation of Node.prototype.isInstanceOf.
    @returns {Boolean}