code: def get_valid_executable_path_or_empty_path(
      arg_string: str,
  ) -> pathlib.Path:
      arg_string = remove_doctest_and_docrunner_parameters(arg_string)
      arg_string = add_python_extension_if_not_there(arg_string)
      path = pathlib.Path(arg_string)
      try:
          if path.is_file():
              path = (
                  path.resolve()
              )  # .resolve does not work on a non existing file in python 3.5
              return path
          else:
              return empty_path
      except Exception as e:
          return empty_path
  
file_path: neptune-client/src/neptune/vendor/lib_programname.py
imports: import pathlib
  import sys
  import __main__
label_desc: Use image node_id 4 for calling a global function with example usage: get_valid_executable_path_or_empty_path(arg_string) and returns: path, empty_path, empty_path