numpy.distutils.misc_util.terminal_has_colors()
© 2008–2017 NumPy DevelopersLicensed under the NumPy License. https://docs.scipy.org/doc/numpy-1.14.2/reference/generated/numpy.distutils.misc_util.terminal_has_colors.html