public static bool Contains(string id, ref bool __result) { if (string.IsNullOrEmpty(id) || id[0] != '@') { return(true); } __result = IconController.Contains(id); if (!__result) { Control.LogError($"Custom icon {id} not exists!"); } return(false); }