code: def is_local_path(path):
      parse_result = urlparse(path)
      return (
          len(parse_result.scheme.lower()) == 0
          or parse_result.scheme.lower() == "file"
      )
  
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 4 for calling a global function with example usage: is_local_path(path) and returns: unknown