src/vs/workbench/services/workspaces/common/workspaceTrust.ts/WorkspaceTrustManagementService/isTrustedByRemote
class WorkspaceTrustManagementService:	private isTrustedByRemote(uri: URI): boolean {
		if (!this.environmentService.remoteAuthority) {
			return false;
		}

		if (!this._remoteAuthority) {
			return false;
		}

		return (isEqualAuthority(getRemoteAuthority(uri), this._remoteAuthority.authority.authority)) && !!this._remoteAuthority.options?.isTrusted;
	}