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