public static bool IsShared(this IModelNode vertex) { return string.IsNullOrWhiteSpace(vertex.Type) || SharedNodeKinds.Contains(vertex.Type); } }