static public function shouldColorize($colored = null) {
		return self::$_enabled === true ||
			(self::$_enabled !== false &&
				($colored === true ||
					($colored !== false && Streams::isTty())));
	}
static public function shouldColorize($colored = null) {
		return self::$_enabled === true ||
			(self::$_enabled !== false &&
				($colored === true ||
					($colored !== false && Streams::isTty())));
	}
static public function shouldColorize ( $ colored = null ) { return self :: $ _enabled === true || ( self :: $ _enabled !== false && ( $ colored === true || ( $ colored !== false && Streams :: isTty ( ) ) ) ) ; }
Check if we should colorize output based on local flags and shell type.

Only check the shell type if `Colors::$_enabled` is null and `$colored` is null.
Check if we should colorize output based on local flags and shell type .