code: def checkThisFile(f):
      if isinstance(f, git.Diff):
          if f.deleted_file or f.b_blob.size == 0:
              return False
          f = f.b_path
      elif not os.path.exists(f) or os.stat(f).st_size == 0:
          # This check covers things like symlinks which point to files that DNE
          return False
      for checker in FilesToCheck:
          if checker.search(f):
              return True
      return False
  
file_path: cugraph/ci/checks/copyright.py
imports: import argparse
  import datetime
  import os
  import re
  import sys
  import git
label_desc: Use image node_id 1 for calling a global function with example usage: checkThisFile(f) and returns: False, False, False, True