cpp/thread/unique lock/owns lock

Checks whether owns a locked mutex or not.

Parameters
(none)

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