Query if the current user is paired or not on a specific device.
This function is meant to be used in a Kotlin coroutine to suspend execution until the operation has completed.
suspend fun IamUtil.awaitIsCurrentUserPaired( connection: Connection, ): Boolean
- An established connection to the device
- if Nabto Edge IAM is not supported by the device
true iff the current user is paired with the device