code: def list_ifd(self):
          
          i = self._first_ifd()
          ifds = []
          while i:
              ifds.append(i)
              i = self._next_ifd(i)
          return ifds
docs: Return the list of IFDs in the header.