code: def _is_git_root(path):
      return os.path.isdir(os.path.join(path, ".git"))
  
file_path: chainercv/docs/source/conf.py
imports: import inspect
  import os
  import pkg_resources
  import sys
label_desc: Use image node_id 2 for calling a global function with example usage: _is_git_root(path) and returns: os