[#BloombergLP-bdlar-SequenceConstRef-hasAttribute-01] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/SequenceConstRef.adoc[SequenceConstRef]::hasAttribute :relfileprefix: ../../../ :mrdocs: `hasAttribute` overloads == Synopses Declared in `<bdlar_sequenceref.h>` Return `true` if the referred sequence object has an attribute with the specified `attributeId`, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdlar/SequenceConstRef/hasAttribute-07.adoc[hasAttribute](int attributeId) const; ---- [.small]#xref:BloombergLP/bdlar/SequenceConstRef/hasAttribute-07.adoc[_» more..._]# Return `true` if the referred sequence object has an attribute with the specified `attributeName` of the specified `attributeNameLength`, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdlar/SequenceConstRef/hasAttribute-0b.adoc[hasAttribute]( char const* attributeName, int attributeNameLength) const; ---- [.small]#xref:BloombergLP/bdlar/SequenceConstRef/hasAttribute-0b.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#