[#wallet-DescriptorScriptPubKeyMan-HasWalletDescriptor] = xref:wallet.adoc[wallet]::xref:wallet/DescriptorScriptPubKeyMan.adoc[DescriptorScriptPubKeyMan]::HasWalletDescriptor :relfileprefix: ../../ :mrdocs: Returns whether this spkm holds the given wallet descriptor. == Synopsis Declared in `<wallet/scriptpubkeyman.h>` [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. == Parameters [cols="1,4"] |=== | Name| Description | *desc* | The wallet descriptor to compare against. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#