code: def enable_multi_fs_load_static(load_func):
      @functools.wraps(load_func)
      def multi_fs_load(path, *args, **kwargs):
          if is_local_path(path):
              return load_func(path, *args, **kwargs)
          else:
              file_name = str(uuid.uuid1())
              file_name = append_suffix(file_name, path)
              temp_path = os.path.join(tempfile.gettempdir(), file_name)
              get_remote_file_to_local(path, temp_path)
              try:
                  return load_func(temp_path, *args, **kwargs)
              finally:
                  os.remove(temp_path)
  
      return multi_fs_load
  
imports: from bigdl.util.common import Sample, JTensor, JavaCreator, _get_gateway, _py2java, _java2py
  import numpy
  import os
  import tempfile
  import uuid
  import functools
  from urllib.parse import urlparse
label_desc: Use image node_id 7 for calling a global function with example usage: enable_multi_fs_load_static(load_func) and returns: multi_fs_load, load_func, load_func