cpp/thread/shared lock/owns lock

Checks whether owns a locked mutex or not.

Parameters
(none)

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