check if we are running on a real terminal before using color CAF-257