pub fn should_colorize() -> boolExpand description
Returns whether colored output should be used.
Returns false if the NO_COLOR environment variable is set (any value)
or stdout is not a terminal (that is, piped or redirected).
This follows the NO_COLOR standard.