src/vs/platform/native/electron-main/nativeHostMainService.ts/NativeHostMainService/isAdmin
class NativeHostMainService:	async isAdmin(): Promise<boolean> {
		let isAdmin: boolean;
		if (isWindows) {
			isAdmin = (await import('native-is-elevated'))();
		} else {
			isAdmin = process.getuid() === 0;
		}

		return isAdmin;
	}