[#BloombergLP-bdlar-SequenceConstRef-hasAttribute-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/SequenceConstRef.adoc[SequenceConstRef]::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]#