code: def dedent(text: str) -> str:
      # Remove leading newline
      if text.startswith("\n"):
          text = text[1:]
      text = textwrap.dedent(text)
      # Remove trailing new line
      if text.endswith("\n"):
          text = text[:-1]
      return text
  
label_desc: Use image node_id 1 for calling a global function with example usage: dedent(text) and returns: text