Return non-nil if the tty device TERMINAL can display colors.
TERMINAL can be a terminal object, a frame, or nil (meaning the
selected frame's terminal). This function always returns nil if
TERMINAL does not refer to a text terminal.
(fn &optional TERMINAL)