[#bsl-map-0af-contains-00] = xref:bsl.adoc[bsl]::xref:bsl/map-0af.adoc[map<TimeInterval, Node*>]::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-0af/key_type.adoc[key_type] const& key) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#