code: def _is_path_like(path):
      return isinstance(path, str) or hasattr(path, "__fspath__")
  
imports: import pathlib
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: _is_path_like(path) and returns: unknown