[#BloombergLP-ball-ScopedAttribute_Container-hasValue-05]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/ScopedAttribute_Container.adoc[ScopedAttribute&lowbar;Container]::hasValue
:relfileprefix: ../../../
:mrdocs:

Return `true` if the specified `attribute` is the same as the value held in this container, and `false` otherwise&period;

== Synopsis

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

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


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