true if std::cerr is a tty so that we can print colour codes
Referenced by initLogsP1(), and syten::TensorTimer::timer_add_decomp().