[#BloombergLP-bslmt-QLock-isLocked]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/QLock.adoc[QLock]::isLocked
:relfileprefix: ../../../
:mrdocs:

Return true if this lock is locked and false otherwise&period;

== Synopsis

Declared in `&lt;bslmt&lowbar;qlock&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
isLocked() const;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
