class_docstr: AbstractSampler base class for optimizer-directed samplers
      
docstr: check if termination conditions have been met
  
  Args:
    disp (bool, default=False): print termination statistics and/or warnings
    info (bool, default=False): return termination message (instead of boolean)
    all (bool, default=None): get results for all solvers, else get the 'best'
  
  Notes:
    - ``disp`` expects a bool, but can also take ``'verbose'`` for more verbosity 
    - ``all``, by default (i.e. None), will show only the terminated solvers
          
code: def terminated(
      self, *args, **kwds
  ):  # FIXME: confusing wrt if_terminated?
      """check if termination conditions have been met
  
      Args:
        disp (bool, default=False): print termination statistics and/or warnings
        info (bool, default=False): return termination message (instead of boolean)
        all (bool, default=None): get results for all solvers, else get the 'best'
  
      Notes:
        - ``disp`` expects a bool, but can also take ``'verbose'`` for more verbosity
        - ``all``, by default (i.e. None), will show only the terminated solvers
      """
      _all = kwds.get("all", None)
      if _all not in (True, False, None):
          msg = (
              "all = %s, must be one of (True, False, None)"
              % getattr(_all, "__name__", _all)
          )
          raise ValueError(msg)
      kwds["all"] = _all
      return self._sampler.Terminated(*args, **kwds)
  
file_path: mystic/mystic/abstract_sampler.py
label_desc: Use image node_id 10 for calling the AbstractSampler obj's underlying member method code with example usage: obj.terminated() and returns: self