Returns whether the wallet has encryption keys (i.e. is encrypted).
Declared in <wallet/scriptpubkeyman.h>
<wallet/scriptpubkeyman.h>
virtual bool HasEncryptionKeys() const = 0;
true if the wallet is encrypted.