docs: def stop(self, check=True):
          """return a dictionary with the termination status.
          With ``check==False``, the termination conditions are not checked
          and the status might not reflect the current situation.
  
          """
          if (check and self.countiter > 0 and self.opts['termination_callback'] and
                  self.opts['termination_callback'] != str(self.opts['termination_callback'])):
              self.callbackstop = self.opts['termination_callback'](self)
  
          return self._stopdict(self, check)