[#BloombergLP-bdlc-IndexClerk-isInUse] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/IndexClerk.adoc[IndexClerk]::isInUse :relfileprefix: ../../../ :mrdocs: Return `true` if the specified `index` is currently in use, and `false` otherwise. The behavior is undefined unless `0 <= index` and `index < nextNewIndex()`. Note that this method runs in time proportional to the number of decommissioned indices. == Synopsis Declared in `<bdlc_indexclerk.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool isInUse(int index) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#