[#wallet-DescriptorScriptPubKeyMan-HasWalletDescriptor]
= xref:wallet.adoc[wallet]::xref:wallet/DescriptorScriptPubKeyMan.adoc[DescriptorScriptPubKeyMan]::HasWalletDescriptor
:relfileprefix: ../../
:mrdocs:

Returns whether this spkm holds the given wallet descriptor&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
HasWalletDescriptor(xref:wallet/WalletDescriptor.adoc[WalletDescriptor] const& desc) const;
----

== Return Value

true if this spkm holds the given descriptor&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *desc*
| The wallet descriptor to compare against&period;
|===


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