[#BloombergLP-ball-DefaultAttributeContainer-hasValue] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/DefaultAttributeContainer.adoc[DefaultAttributeContainer]::hasValue :relfileprefix: ../../../ :mrdocs: Return `true` if the attribute having specified `value` exists in this object, and `false` otherwise. == Synopsis Declared in `<ball_defaultattributecontainer.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual bool hasValue(xref:BloombergLP/ball/Attribute.adoc[Attribute] const& value) const override; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#