code: private boolean shouldItemsBeDisabled() {
          SharedPreferences sharedPreferences =
                  PreferenceManager.getDefaultSharedPreferences(getActivity());
          String key = getString(R.string.disable_items_preference_key);
          boolean defaultValue =
                  getResources().getBoolean(R.bool.disable_items_preference_default_value);
          return sharedPreferences.getBoolean(key, defaultValue);
      }
docs: Returns, whether items should be disabled, depending on the app's settings, or not.
  
  @return True, if items should be disabled, false otherwise.