public bool IsTypeOf(NodeId nodeId) { TypeInfo typeInfo = SuperType; while (typeInfo != null) { if (!typeInfo.Deleted && typeInfo.NodeId == nodeId) { return true; } typeInfo = typeInfo.SuperType; } return false; }