code: def wrap(msg, indent="", indent_first=True, width=120):
      """
      Helper function that wraps msg to {width}-chars page width. All lines (except maybe 1st) will be prefixed with
      string {indent}. First line is prefixed only if {indent_first} is True.
        :param msg: string to indent
        :param indent: string that will be used for indentation
        :param indent_first: if True then the first line will be indented as well, otherwise not
        :param width: the width of the generated paragraphs.
      """
      wrapper = textwrap.TextWrapper(
          width=width, initial_indent=indent, subsequent_indent=indent
      )
      lines = msg.splitlines()
      msg = "\n".join([wrapper.fill(line) for line in lines])
      return msg if indent_first else msg[len(indent) :]
  
imports: import argparse
  import atexit
  import codecs
  import errno
  import os
  import platform
  import pprint
  import re
  import requests
  import shutil
  import sys
  import textwrap
  import time
  from collections import defaultdict
label_desc: Use image node_id 6 for calling a global function with example usage: wrap(msg, indent, indent_first, width) and returns: unknown