fn wants_kitty( renderer: Option<Renderer>, tty: bool, env: impl Fn(&str) -> Option<String>, ) -> bool