[#bsl-unordered_multimap-0b0-contains-0e] = xref:bsl.adoc[bsl]::xref:bsl/unordered_multimap-0b0.adoc[unordered_multimap]::contains :relfileprefix: ../../ :mrdocs: Return `true` if this container has an element with key equivalent to `key`. == Synopses Declared in `<bslstl_unorderedmultimap.h>` Return `true` if this container has an element with key equivalent to `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:bsl/unordered_multimap-0b0/contains-03.adoc[contains](xref:bsl/unordered_multimap-0b0/key_type.adoc[key_type] const& key) const; ---- [.small]#xref:bsl/unordered_multimap-0b0/contains-03.adoc[_» more..._]# Return `true` if this container has an element with key equivalent to `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class LOOKUP_KEY> bool xref:bsl/unordered_multimap-0b0/contains-06.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_multimap-0b0/contains-06.adoc[_» more..._]# == Return Value * `true` if `key` is present, and `false` otherwise * `true` if present, otherwise `false` == Parameters [cols="1,4"] |=== | Name| Description | *key* | key value to look up |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#