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