[#BloombergLP-bslmt-ReaderWriterMutex-isLocked] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ReaderWriterMutex.adoc[ReaderWriterMutex]::isLocked :relfileprefix: ../../../ :mrdocs: Return `true` if this reader‐write mutex is currently read locked or write locked, and `false` otherwise. == Synopsis Declared in `<bslmt_readerwritermutex.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool isLocked() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#