isEncrypted property

bool get isEncrypted

Whether the private key is encrypted.

Implementation

bool get isEncrypted => cipherName != 'none';