[#bsl-multiset-03-contains-0f] = xref:bsl.adoc[bsl]::xref:bsl/multiset-03.adoc[multiset]::contains :relfileprefix: ../../ :mrdocs: Return `true` if this map contains an element whose key is equivalent to the specified `key`. == Synopsis Declared in `<bslstl_multiset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool contains(xref:bsl/multiset-03/key_type.adoc[key_type] const& key) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#