public static bool IsContourParameter(JObject data) { var parameterType = (int)data["ParameterType"]; if (parameterType != 3) return false; var strWkt = (string) data["Data"]["Value"]; if (string.IsNullOrWhiteSpace(strWkt)) return false; return true; }