bool isKeyValid(String keyId) => getKey(keyId)?.algorithm == AlgorithmTypes.secretStorageV1AesHmcSha2;