[#BloombergLP-bslmt-OnceGuard-isInProgress] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/OnceGuard.adoc[OnceGuard]::isInProgress :relfileprefix: ../../../ :mrdocs: Return `true` if this object is in the "in‐progress" state. The object is in‐progress if `enter` has been called and returned `true` and neither `leave` nor `cancel` have been called. The one‐time code controlled by this object should only be executing if this object is in the "in‐progress" state. == Synopsis Declared in `<bslmt_once.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool isInProgress() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#