[#btck-ChainView-Contains]
= xref:btck.adoc[btck]::xref:btck/ChainView.adoc[ChainView]::Contains
:relfileprefix: ../../
:mrdocs:

Tests whether an entry belongs to this chain&period;

== Synopsis

Declared in `&lt;kernel&sol;bitcoinkernel&lowbar;wrapper&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
Contains(xref:btck/BlockTreeEntry.adoc[BlockTreeEntry]& entry) const;
----

== Return Value

True when the entry is part of the chain&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *entry*
| The entry to test&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
