constructor(store, options = {}) {
      Logger.DEBUG_LEVEL = store.model.options.debug ? 4 : 0;
      Logger.debug("Init StateManager:", options);
      super();
      this.store = store;
      this.options = Object.assign({ id: "model" }, options);
      Logger.debug("StateManager initialized");
    }
Checks if localStorage is available.
@returns {boolean}