code: def installSize(clear=False, _saved=[]):
      if clear:
          del _saved[:]
      if not _saved:
          data = captureCommand(
              "du -ks %s" % (shellQuote(os.path.join(WORKDIR, "_root")))
          )
          _saved.append(
              "%d" % ((0.5 + (int(data.split()[0]) / 1024.0)),)
          )
      return _saved[0]
  
imports: import platform, os, sys, getopt, textwrap, shutil, stat, time, pwd, grp
label_desc: Use image node_id 35 for calling a global function with example usage: installSize(clear, _saved) and returns: _saved