pub fn is_cache_valid(filename: &str) -> Result<bool>
Checks if a specific cache file exists and is valid (within TTL).