code: def colorize(string, color, bold=False, highlight=False):
      """
      Colorize, bold and/or highlight a string for terminal print
  
      :param string: (str) input string
      :param color: (str) the color, the lookup table is the dict at console_util.color2num
      :param bold: (bool) if the string should be bold or not
      :param highlight: (bool) if the string should be highlighted or not
      :return: (str) the stylized output string
      """
      attr = []
      num = COLOR_TO_NUM[color]
      if highlight:
          num += 10
      attr.append(str(num))
      if bold:
          attr.append("1")
      return "\x1b[%sm%s\x1b[0m" % (";".join(attr), string)
  
imports: from __future__ import print_function
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: colorize(string, color, bold, highlight) and returns: unknown