code: def check_output_directory(type):
      """
      create output directory
      Args:
           type: name of picture set for test
      """
      if not os.path.exists(OUTPUT):
          os.mkdir(OUTPUT, 0o755)
      if not os.path.exists(OUTPUT + "/" + type):
          os.mkdir(OUTPUT + "/" + type, 0o755)
  
file_path: AdvBox/example/utility.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import distutils.util
  import numpy
  from PIL import Image
  import os
  from paddle.fluid import core
label_desc: Use image node_id 3 for calling a global function with example usage: check_output_directory(type) without return types