checkEncrypted method
encryption checker
Implementation
bool checkEncrypted() {
if (this.privateKey == null) {
throw 'Account is corrupted';
}
Map? store = this.getKeyStore();
if (store is Map && store['crypto'] != null) {
return true;
} else
return false;
}