code: def _is_gwf(file_path):
      
      try:
          with open(file_path, 'rb') as f:
              if f.read(4) == b'IGWD':
                  return True
      except IOError:
          pass
      return False
docs: Test if a file is a frame file by checking if its contents begins with
      the magic string 'IGWD'.