code: def getSFNTResIndices(path):
      """Determine whether a file has a 'sfnt' resource fork or not."""
      try:
          reader = ResourceReader(path)
          indices = reader.getIndices("sfnt")
          reader.close()
          return indices
      except ResourceError:
          return []
  
imports: from io import BytesIO
  from fontTools.misc.macRes import ResourceReader, ResourceError
label_desc: Use image node_id 1 for calling a global function with example usage: getSFNTResIndices(path) and returns: indices, list