function getIsolationScope() {
  // eslint-disable-next-line deprecation/deprecation
  return getCurrentHub().getIsolationScope();
}
Get the currently active isolation scope.
The isolation scope is active for the current exection context,
meaning that it will remain stable for the same Hub.