checkDeviceTrust

abstract suspend fun checkDeviceTrust(    otherUserId: String,     otherDeviceId: String,     locallyTrusted: Boolean?): DeviceTrustResult

Check if a device is trusted

This will check that we have a valid trust chain from our own master key to a device, either using the self-signing key for our own devices or using the user-signing key and the master key of another user.