pub fn is_err_tty() -> bool
Returns whether stderr is a terminal (tty).
Used to gate progress/spinner output that only makes sense for interactive use.