src/vs/workbench/contrib/extensions/browser/extensionsActions.ts/SwitchToReleasedVersionAction/update
class SwitchToReleasedVersionAction:	update(): void {
		this.enabled = !!this.extension && !this.extension.isBuiltin && this.extension.state === ExtensionState.Installed && !!this.extension.local?.isPreReleaseVersion && !!this.extension.hasReleaseVersion;
	}