code: def _path_like(item):
      """Validate that `item` is `path-like`.
  
      Parameters
      ----------
      item : object
          The thing to be checked.
  
      Returns
      -------
      bool
          ``True`` if `item` is a `path-like` object; ``False`` otherwise.
      """
      try:
          _validate_type(item, types="path-like")
          return True
      except TypeError:
          return False
  
imports: import numbers
  import operator
  import os
  import re
  from builtins import input
  from difflib import get_close_matches
  from importlib import import_module
  from pathlib import Path
  import numpy
  from ..defaults import HEAD_SIZE_DEFAULT, _handle_default
  from ..fixes import _compare_version, _median_complex
  from ._logging import _record_warnings, _verbose_safe_false, logger, verbose, warn
label_desc: Use image node_id 28 for calling a global function with example usage: _path_like(item) and returns: True, False