settings: check setting type before casting to CSettingList