public static bool IsNullOrEmpty(Point2D point) { if (point == null) { return true; } if (point.X.ValueCheck() && point.Y.ValueCheck()) { return false; } else { return true; } }