fn is_flag(c: &char) -> bool