code: public ECKey maybeDecrypt(@Nullable KeyParameter aesKey) throws KeyCrypterException {
          return isEncrypted() && aesKey != null ? decrypt(aesKey) : this;
      }
docs: Creates decrypted private key if needed.