Reports whether this lock currently owns a shared lock.
Declared in <folly/SharedMutex.h>
<folly/SharedMutex.h>
explicit operator bool() const noexcept;
true if a shared lock is held.
true