code: def isTrackedFile(self, fileName):
      try:
          gitProcess = subprocess.Popen(
              [
                  "git",
                  "ls-files",
                  "--error-unmatch",
                  "--",
                  os.path.basename(fileName),
              ],
              stdin=subprocess.PIPE,
              stdout=subprocess.PIPE,
              stderr=subprocess.PIPE,
              cwd=os.path.dirname(fileName),
          )
          _, _ = gitProcess.communicate()
          if gitProcess.returncode == 0:
              return True
      except OSError:
          cprint(
              "[ERROR] Failed to run 'git ls-files --error-unmatch' for "
              + fileName,
              "red",
          )
      return False
  
imports: import argparse
  import filecmp
  import os
  import re
  import sets
  import subprocess
  import sys
  from termcolor import cprint
label_desc: Use image node_id 14 for calling the CodeFormat obj's underlying member method code with example usage: obj.isTrackedFile(fileName) and returns: False, True