code: function setIsTTY (isTTY) {
    Object.defineProperty(this, 'isTTY', {
      value: isTTY,
      enumerable: true,
      writable: true,
      configurable: true
    })
  }
docs: basically just get replace the getter/setter with a regular value