[#BloombergLP-bdlar-SequenceRef-hasAttribute-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/SequenceRef.adoc[SequenceRef]::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/SequenceRef/hasAttribute-0c.adoc[hasAttribute](int attributeId) const; ---- [.small]#xref:BloombergLP/bdlar/SequenceRef/hasAttribute-0c.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/SequenceRef/hasAttribute-01.adoc[hasAttribute]( char const* attributeName, int attributeNameLength) const; ---- [.small]#xref:BloombergLP/bdlar/SequenceRef/hasAttribute-01.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#