code: def bold_text(x, color=None):
      """Bolds text using rich markup."""
      if color:
          return f"[bold][color({color})]{x}[/][/]"
      return f"[bold]{x}[/]"
  
file_path: keras/keras/utils/summary_utils.py
imports: import math
  import re
  import shutil
  import rich
  import rich.console
  import rich.markup
  import rich.table
  import tree
  from keras import backend
  from keras.utils import dtype_utils
  from keras.utils import io_utils
label_desc: Use image node_id 6 for calling a global function with example usage: bold_text(x, color) and returns: str, x, str, str, color, str, x, str