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