[#BloombergLP-ball-AttributeCollectorRegistry-hasCollector] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/AttributeCollectorRegistry.adoc[AttributeCollectorRegistry]::hasCollector :relfileprefix: ../../../ :mrdocs: Return `true` if a collector having the specified `name` is in the registry maintained by this object, and `false` otherwise. Note that this method is provided primarily for debugging purposes (i.e., its return value can be invalidated from another thread). == Synopsis Declared in `<ball_attributecollectorregistry.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool hasCollector(std::string_view const& name) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#