code: def path_isin(child: "StrPath", parent: "StrPath") -> bool:
      """Check if given `child` path is inside `parent`."""
  
      def normalize_path(path) -> str:
          return os.path.normcase(os.path.normpath(path))
  
      parent = os.path.join(normalize_path(parent), "")
      child = normalize_path(child)
      return child != parent and child.startswith(parent)
  
file_path: dvc/dvc/utils/fs.py
imports: import errno
  import os
  import shutil
  import stat
  import sys
  from typing import TYPE_CHECKING
  from dvc.exceptions import DvcException
  from dvc.log import logger
label_desc: Use image node_id 5 for calling a global function with example usage: path_isin(child, parent) and returns: unknown, os