[#CChain-Contains] = xref:CChain.adoc[CChain]::Contains :relfileprefix: ../ :mrdocs: Efficiently check whether a block is present in this chain. == Synopsis Declared in `<chain.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool Contains(xref:CBlockIndex.adoc[CBlockIndex] const& index) const; ---- == Return Value True if the entry is part of this chain, otherwise false. == Parameters [cols="1,4"] |=== | Name| Description | *index* | The block index entry to look for. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#