internal bool IsDataOfType <TData>() where TData : IVertexData { return(Data != null && Data.GetType() == typeof(TData)); }