pub fn get_bool(m: &HashMap<String, Value>, key: &str, def: bool) -> bool
Extracts a boolean parameter value from the arguments map.
Returns default if the key is missing or not a Bool.