isHeld

abstract fun isHeld(): Boolean

Check if this process owns the lease.

This method should not attempt to acquire the lease, make network calls, or block.

Return

whether the lease is owned by this process instance.