class_docstr: An individual counter (A progress bar can have multiple counters).
class_docstr_tok: ["An","individual","counter","(","A","progress","bar","can","have","multiple","counters",")","."]
docstr: Whether a counter has been stopped.
  
  Stopped counters no longer have increasing time_elapsed. This distinction is
  also used to prevent the Bar formatter with unknown totals from continuing to run.
  
  A stopped counter (but not done) can be used to signal that a given counter has
  encountered an error but allows other counters to continue
  (e.g. download X of Y failed). Given how only done counters are removed
  (see remove_when_done) this can help aggregate failures from a large number of
  successes.
  
  Contrast this with done. A done counter has reached its 100% completion.
  A stopped counter may be terminated before 100% completion.
docstr_tok: ["Whether","a","counter","has","been","stopped",".","Stopped","counters","no","longer","have","increasing","time_elapsed",".","This","distinction","is","also","used","to","prevent","the","Bar","formatter","with","unknown","totals","from","continuing","to","run",".","A","stopped","counter","(","but","not","done",")","can","be","used","to","signal","that","a","given","counter","has","encountered","an","error","but","allows","other","counters","to","continue","(","e.g",".","download","X","of","Y","failed",")",".","Given","how","only","done","counters","are","removed","(","see","remove_when_done",")","this","can","help","aggregate","failures","from","a","large","number","of","successes",".","Contrast","this","with","done",".","A","done","counter","has","reached","its","100","%","completion",".","A","stopped","counter","may","be","terminated","before","100","%","completion","."]
code: def stopped(self) -> bool:
      """Whether a counter has been stopped.
  
      Stopped counters no longer have increasing time_elapsed. This distinction is
      also used to prevent the Bar formatter with unknown totals from continuing to run.
  
      A stopped counter (but not done) can be used to signal that a given counter has
      encountered an error but allows other counters to continue
      (e.g. download X of Y failed). Given how only done counters are removed
      (see remove_when_done) this can help aggregate failures from a large number of
      successes.
  
      Contrast this with done. A done counter has reached its 100% completion.
      A stopped counter may be terminated before 100% completion.
      """
      return self.stop_time is not None
  
imports: from __future__ import annotations
  import contextvars
  import datetime
  import functools
  import os
  import signal
  import threading
  import traceback
  from typing import Callable, Generic, Iterable, Iterator, Sequence, Sized, TextIO, TypeVar, cast
  from prompt_toolkit.application import Application
  from prompt_toolkit.application.current import get_app_session
  from prompt_toolkit.filters import Condition, is_done, renderer_height_is_known
  from prompt_toolkit.formatted_text import AnyFormattedText, StyleAndTextTuples, to_formatted_text
  from prompt_toolkit.input import Input
  from prompt_toolkit.key_binding import KeyBindings
  from prompt_toolkit.key_binding.key_processor import KeyPressEvent
  from prompt_toolkit.layout import ConditionalContainer, FormattedTextControl, HSplit, Layout, VSplit, Window
  from prompt_toolkit.layout.controls import UIContent, UIControl
  from prompt_toolkit.layout.dimension import AnyDimension, D
  from prompt_toolkit.output import ColorDepth, Output
  from prompt_toolkit.styles import BaseStyle
  from prompt_toolkit.utils import in_main_thread
  from .formatters import Formatter, create_default_formatters
label_desc: Use image node_id 6 for calling the ProgressBarCounter obj's underlying member method code with example usage: obj.stopped() and returns: unknown