docs: function setLocalStorage(optOutState) {
    if (!(localStorage && localStorage.setItem)) {
      return null;
    }
  
    if (typeof optOutState !== 'boolean') {
      console.warn('setCookie for outOut invalid param optOutState. Param must be boolean');
      return null;
    }
  
    try {
      localStorage.setItem(disableStr, optOutState);
    } catch (e) {
      return null;
    }
  
    return optOutState;
  }