[#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. == Synopsis Declared in `<bdlar_sequenceref.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool hasAttribute( char const* attributeName, int attributeNameLength) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#