parameters: (self)
return_statement: return True
docstring: Return true if this session should not be used anymore.
  
      Always return True if the session was closed.
  
      Returns:
        True if the session should stop, False otherwise.
docstring_summary: Return true if this session should not be used anymore.
docstring_tokens: Return true if this session should not be used anymore .
function: def should_stop(self):
      """Return true if this session should not be used anymore.
  
      Always return True if the session was closed.
  
      Returns:
        True if the session should stop, False otherwise.
      """
      if self._check_stop():
        return True
      if self._sess:
        return self._wrapped_is_stoppable and self._sess.should_stop()
      return True
function_tokens: def should_stop ( self ) : if self . _check_stop ( ) : return True if self . _sess : return self . _wrapped_is_stoppable and self . _sess . should_stop ( ) return True