code: def get_bigdl_image_workdir():
      bigdl_image_workdir = (
          "/opt/spark/work-dir"  # WORKDIR defined in dockerfile
      )
      return bigdl_image_workdir
  
imports: import glob
  from bigdl.dllib.utils.file_utils import Sample
  import numpy
  from pyspark.ml.linalg import DenseVector, SparseVector, VectorUDT
  import sys
  import os
  import re
  from bigdl.dllib.utils.log4Error import *
label_desc: Use image node_id 12 for calling a global function with example usage: get_bigdl_image_workdir() and returns: bigdl_image_workdir