code: def is_fs_root(p: Path) -> bool:
      r"""
      Return True if the given path is pointing to the root of the
      file system ("/" on Unix and "C:\\" on Windows for example).
      """
      return os.path.splitdrive(str(p))[1] == os.sep
  
imports: import os
  import sys
  from pathlib import Path
  from typing import Dict
  from typing import Iterable
  from typing import List
  from typing import Optional
  from typing import Sequence
  from typing import Tuple
  from typing import TYPE_CHECKING
  from typing import Union
  import iniconfig
  from .exceptions import UsageError
  from _pytest.outcomes import fail
  from _pytest.pathlib import absolutepath
  from _pytest.pathlib import commonpath
  from _pytest.pathlib import safe_exists
label_desc: Use image node_id 7 for calling a global function with example usage: is_fs_root(p) and returns: unknown