[#BloombergLP-bdlat_SequenceFunctions-bdlat_sequenceHasAttribute-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_SequenceFunctions.adoc[bdlat_SequenceFunctions]::bdlat_sequenceHasAttribute :relfileprefix: ../../ :mrdocs: Default customization‐point implementation of `hasAttribute` by name. == Synopsis Declared in `<bdlat_sequencefunctions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> bool bdlat_sequenceHasAttribute( TYPE const& object, char const* attributeName, int attributeNameLength); ---- == Return Value `true` if `object` has the named attribute, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *object* | sequence to query for the attribute | *attributeName* | name of the attribute to look up | *attributeNameLength* | length of `attributeName` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#