pub fn console_available() -> bool
Return true when both standard input and standard output are attached to a terminal/console handle.
true