[#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; ---- == Return Value `true` if the attribute exists, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *attributeId* | id of the attribute |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#