code: def colorize(string, color="green", bold=False, highlight=False):
      attr = []
      num = color2num[color]
      if highlight:
          num += 10
      attr.append(str(num))
      if bold:
          attr.append("1")
      return "\x1b[%sm%s\x1b[0m" % (";".join(attr), string)
  
file_path: baselines/baselines/common/console_util.py
imports: from __future__ import print_function
  from contextlib import contextmanager
  import numpy
  import time
  import shlex
  import subprocess
label_desc: Use image node_id 3 for calling a global function with example usage: colorize(string, color, bold, highlight) and returns: unknown