src/vs/workbench/browser/parts/compositeBarActions.ts/ToggleCompositePinnedAction/run
class ToggleCompositePinnedAction:	override async run(context: string): Promise<void> {
		const id = this.activity ? this.activity.id : context;

		if (this.compositeBar.isPinned(id)) {
			this.compositeBar.unpin(id);
		} else {
			this.compositeBar.pin(id);
		}
	}