pub fn parse_bool(s: &str) -> Result<bool, String>
Parse a boolean from a string. Accepts “true”, “false”, “1”, “0” (case-insensitive for true/false).