function hasLazyStack (err) {
if (!supportsLazyStack) {
  return false;
}

var descriptor = Object.getOwnPropertyDescriptor(err, 'stack');
if (!descriptor) {
  return false;
}
return typeof descriptor.get === 'function';
}
Does this error have a lazy stack property?

@param {Error} err
@returns {boolean}