DirectShapeType.IsValidShape Method