code: def unindent(msg):
      ind = 1e6
      lines = msg.split("\n")
      for line in lines:
          if len(line.strip()) == 0:
              continue
          ind = min(ind, len(line) - len(line.lstrip()))
      return "\n".join([line[ind:] for line in lines])
  
imports: import os, sys, argparse, random
  from shell import shell, ssh
label_desc: Use image node_id 3 for calling a global function with example usage: unindent(msg) and returns: str