[#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&period;

== Synopsis

Declared in `&lt;ball&lowbar;defaultattributecontainer&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
bool
hasValue(xref:BloombergLP/ball/Attribute.adoc[Attribute] const& value) const override;
----

== Return Value

`true` if an attribute having `value` exists, and `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| attribute value to look up
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
