code: def is_under_git_control():
      """Return true iff the current directory is under git control."""
      return pfrl.utils.is_return_code_zero(["git", "rev-parse"])
  
file_path: pfrl/pfrl/experiments/prepare_output_dir.py
imports: import argparse
  import datetime
  import json
  import os
  import pickle
  import shutil
  import subprocess
  import sys
  from binascii import crc32
  import pfrl
label_desc: Use image node_id 1 for calling a global function with example usage: is_under_git_control() and returns: pfrl