method KeyValueService.hasKey KeyValueService.hasKey(key: string): boolean Check if a value for a specified key exists in the keystore. Parameters key: string Return Type boolean