[#BloombergLP-bdlar-SequenceRef-hasAttribute-01]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/SequenceRef.adoc[SequenceRef]::hasAttribute
:relfileprefix: ../../../
:mrdocs:

Return `true` if the referred sequence object has an attribute with the specified `attributeName` of the specified `attributeNameLength`, and `false` otherwise&period;

== Synopsis

Declared in `&lt;bdlar&lowbar;sequenceref&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
hasAttribute(
    char const* attributeName,
    int attributeNameLength) const;
----


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