method

owned?

ruby latest stable - Class: Mutex
owned?()
public

Returns true if this lock is currently held by current thread.