abstract fun holdsLock(owner: Any): Boolean
Platform and version requirements: JVM
Checks mutex locked by owner
Return true on mutex lock by owner, false if not locker or it is locked by different owner
true
false