code: function getLibState() {
        var state = getState();
        return state.isMap && state.isMap() ? state.get(_constants.ROOT_STATE_KEY) : state[_constants.ROOT_STATE_KEY];
      }
docs: GETS THIS LIBS SLICE OF TOP LEVEL STATE FROM REDUX (supports immutable)