[#BloombergLP-bdlar-SequenceRef-hasAttribute-0c] = 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 `attributeId`, and `false` otherwise. == Synopsis Declared in `<bdlar_sequenceref.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool hasAttribute(int attributeId) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#