[#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; ---- == Return Value `true` if an attribute having `value` exists in this object, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *value* | attribute value to look up |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#