extract SettingsHelper#relays_enabled?