code: function () {
        if (document.cookie.indexOf(this.cookieName + '=true') > -1) {
          return true;
        } else if (document.cookie.indexOf(this.cookieName + '=false') > -1) {
          return false;
        }
  
        return null;
      }
docs: /*
  Check if user already consent