code: def close(self):
          
          if hasattr(self, 'iterators'):
              for it in self.iterators:
                  if hasattr(it, 'close'):
                      it.close()
docs: Closes all the iterators.
  
          This is particularly important if the iterators are files.