// Stopped reports whether the provider has been stopped or not.

Stopped reports whether the provider has been stopped or not.
// Stopped reports whether the provider has been stopped or not .
func (p *Provider) Stopped() bool {
	ctx := p.StopContext()
	select {
	case <-ctx.Done():
		return true
	default:
		return false
	}
}
func ( p * Provider ) Stopped ( ) bool { ctx := p . StopContext ( ) select { case <- ctx . Done ( ) : return true default : return false } }
Stopped reports whether the provider has been stopped or not.
Stopped reports whether the provider has been stopped or not .