pub(crate) fn is_flag(arg: &str) -> bool