pub fn check_path(path: &str) -> Result<(), String>
Check if a path is blocked. Returns Err(message) if blocked.