[#wallet-CWallet-IsMine-088]
= xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::IsMine
:relfileprefix: ../../
:mrdocs:

Report whether a script belongs to this wallet&period;

== Synopsis

Declared in `&lt;wallet&sol;wallet&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f94fde05c98), requires&lowbar;capability(0x7f95061a89d8), requires&lowbar;capability(0x7f94f2b794e8), requires&lowbar;capability(0x7f94f0cf8178), requires&lowbar;capability(0x7f94fee3ab68)&rsqb;&rsqb;
bool
IsMine(xref:CScript.adoc[CScript] const& script) const;
----

== Return Value

true if the script is owned by the wallet&period;

== Parameters

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


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