class_docstr: Base class for image file format handlers.
code: def _seek_check(self, frame):
      if (
          frame < self._min_frame
          # Only check upper limit on frames if additional seek operations
          # are not required to do so
          or (
              not (
                  hasattr(self, "_n_frames") and self._n_frames is None
              )
              and frame >= self.n_frames + self._min_frame
          )
      ):
          msg = "attempt to seek outside sequence"
          raise EOFError(msg)
  
      return self.tell() != frame
  
imports: import io
  import itertools
  import struct
  import sys
  from .None import Image
  from ._util import is_path
label_desc: Use image node_id 8 for calling the ImageFile obj's underlying member method code with example usage: obj._seek_check(frame) and returns: unknown