isLocked

val isLocked: StateFlow<Boolean>(source)

true while a coroutine holds the lock.