[#BloombergLP-bdlc-FlatHashTable-contains] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashTable.adoc[FlatHashTable]::contains :relfileprefix: ../../../ :mrdocs: Return `true` if this table contains an entry having the specified `key`, and `false` otherwise. == Synopsis Declared in `<bdlc_flathashtable.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool contains(KEY const& key) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#