private static bool ValidateTemplateReplaceComplete(string str) { if (str.Contains("{{iws")) { AppDiagnostics.Assert(false, "Template has incomplete parts that need to be replaced"); return false; } return true; }