bool validStringList(String key) { final dynamic value = valueMap[key]; return value != null && value is List<dynamic> && value.isNotEmpty; }