[#bsl-unordered_multiset-06c-contains-01] = xref:bsl.adoc[bsl]::xref:bsl/unordered_multiset-06c.adoc[unordered_multiset]::contains :relfileprefix: ../../ :mrdocs: Return `true` if this unordered multiset contains an element whose key is equivalent to the specified `key`. == Synopses Declared in `<bslstl_unorderedmultiset.h>` Return `true` if this unordered multiset contains an element whose key is equivalent to the specified `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:bsl/unordered_multiset-06c/contains-0f.adoc[contains](xref:bsl/unordered_multiset-06c/key_type.adoc[key_type] const& key) const; ---- [.small]#xref:bsl/unordered_multiset-06c/contains-0f.adoc[_» more..._]# Return `true` if this unordered multiset contains an element whose key is equivalent to the specified `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class LOOKUP_KEY> bool xref:bsl/unordered_multiset-06c/contains-0c.adoc[contains](LOOKUP_KEY const& key) const requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value && BloombergLP::bslmf::IsTransparentPredicate<EQUAL, LOOKUP_KEY>::value; ---- [.small]#xref:bsl/unordered_multiset-06c/contains-0c.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#