hasSetting

fun <S : SettingsHolder> S.hasSetting(key: ISetting<Unit, S>): Boolean

Shortcut to get Unit setting. In most cases you should use Unit settings instead of Boolean ones.