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

Report whether the wallet holds any encryption keys&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
bool
HasEncryptionKeys() const override;
----

== Return Value

true if the wallet is encrypted&period;


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