code: def is_git(path="."):
      p = subprocess.Popen(
          ["git", "status"],
          stdout=subprocess.DEVNULL,
          stderr=subprocess.DEVNULL,
          cwd=path,
      )
  
      p.wait()
      return p.returncode == 0
  
file_path: studio/studio/git_util.py
imports: import re
  import subprocess
  import os
label_desc: Use image node_id 2 for calling a global function with example usage: is_git(path) and returns: unknown