code: def isIndexed(data: Data, offset: int) -> bool:
      return all(i in data for i in range(offset, offset + len(data)))
  
imports: from __future__ import annotations
  import collections
  import functools
  import itertools
  import multiprocessing
  import multiprocessing.dummy
  import os
  import queue
  import tempfile
  from typing import TYPE_CHECKING, overload
  import numpy
  from dedupe.backport import RLock
label_desc: Use image node_id 6 for calling a global function with example usage: isIndexed(data, offset) and returns: all