Gets whether search is enabled for this.
Use [class@PreferencesDialog].
a preferences window
whether search is enabled for this.