[#BloombergLP-bslma-TestAllocator-hasFillPattern] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/TestAllocator.adoc[TestAllocator]::hasFillPattern :relfileprefix: ../../../ :mrdocs: Return `true` if a fill pattern is currently set for this allocator, and `false` otherwise. When a fill pattern is set, newly allocated memory is filled with the pattern value. == Synopsis Declared in `<bslma_testallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool hasFillPattern() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#