pub trait IsTty { fn is_tty(&self) -> bool; }
Adds the is_tty method to types that might represent a terminal
Returns true if the instance is a terminal teletype, false otherwise.