src/vs/base/browser/ui/actionbar/actionbar.ts/ActionBar/hasAction
class ActionBar:	hasAction(action: IAction): boolean {
		return this.viewItems.findIndex(candidate => candidate.action.id === action.id) !== -1;
	}