[#BloombergLP-bdlat_SequenceFunctions-hasAttribute-099] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_SequenceFunctions.adoc[bdlat_SequenceFunctions]::hasAttribute :relfileprefix: ../../ :mrdocs: `hasAttribute` overloads == Synopses Declared in `<bdlat_sequencefunctions.h>` Return true if the specified `object` has an attribute with the specified `attributeId`, and false otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> bool xref:BloombergLP/bdlat_SequenceFunctions/hasAttribute-02.adoc[hasAttribute]( TYPE const& object, int attributeId); ---- [.small]#xref:BloombergLP/bdlat_SequenceFunctions/hasAttribute-02.adoc[_» more..._]# Return true if the specified `object` has an attribute with the specified `attributeName` of the specified `attributeNameLength`, and false otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> bool xref:BloombergLP/bdlat_SequenceFunctions/hasAttribute-09c.adoc[hasAttribute]( TYPE const& object, char const* attributeName, int attributeNameLength); ---- [.small]#xref:BloombergLP/bdlat_SequenceFunctions/hasAttribute-09c.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#