docstr: Determines if maximum number of iterations (seed) is reached.
docstr_tok: ["Determines","if","maximum","number","of","iterations","(","seed",")","is","reached","."]
code: def _finish(self):
      """Determines if maximum number of iterations (seed) is reached."""
      if self.active and self.cnt >= self.max_iter:
          self.total_time = self._elapsed()
          self.end = time.time()
          self.last_progress -= 1  # to force a refreshed _print()
          self._print()
          if self.track:
              self._stream_out(
                  "\nTotal time elapsed: "
                  + self._get_time(self.total_time)
              )
          self._stream_out("\n")
          self.active = False
  
imports: import os
  import sys
  import time
  from io import UnsupportedOperation
label_desc: Use image node_id 10 for calling the Prog obj's underlying member method code with example usage: obj._finish() without return types