if (SettingsHelper.GetInstance().GetSetting("/Settings/Recording/ClientMode", "false") == "true") { ... }