src/vs/platform/actions/common/actions.ts/MenuRegistryChangeEvent/constructor
class MenuRegistryChangeEvent:	private constructor(private readonly id: MenuId) {
		this.has = candidate => candidate === id;
	}