public static bool CheckStringIsAPIException(string json)
{
if (string.IsNullOrEmpty(json) || json.Length < JSONHeader.Length)
{
return false;
}//end if
var header = json.Substring(0, JSONHeader.Length);
return string.Equals(JSONHeader, header, StringComparison.OrdinalIgnoreCase);
}//end method