code: private static void tryWritePreferenceOnDisk(Preferences preference) throws BackingStoreException {
          final String DUMMY_PROP="dummywrite";
          instance.put(DUMMY_PROP,"test");
          instance.flush();
          instance.remove(DUMMY_PROP);
          instance.flush();
      }
docs: This ensures that we are able to use the default preference from JSDK, to check basically if we are in Android or Not
  @param preference
  @throws BackingStoreException