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

Returns whether the provided ScriptPubKeyMan is internal

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::optional&lt;bool&gt;
IsInternalScriptPubKeyMan(xref:wallet/ScriptPubKeyMan.adoc[ScriptPubKeyMan]* spk&lowbar;man) const;
----

== Return Value

contains value only for active DescriptorScriptPubKeyMan, otherwise undefined

== Parameters

[cols="1,4"]
|===
| Name| Description
| *spk&lowbar;man* [in]
| The ScriptPubKeyMan to test
|===


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