cpp/thread/unique lock/operator bool

Checks whether owns a locked mutex or not. Effectively calls owns_lock.

Parameters
(none)

Return value
if has an associated mutex and has acquired ownership of it,  otherwise.