//areWeDone is a nonblocking context.Done() check
areWeDone is a nonblocking context.Done() check
// areWeDone is a nonblocking context . Done () check
func areWeDone(ctx context.Context) bool {
	select {
	case <-ctx.Done():
		return true
	default:
	}
	return false
}
func areWeDone ( ctx context . Context ) bool { select { case <- ctx . Done ( ) : return true default : } return false }
areWeDone is a nonblocking context.Done() check
areWeDone is a nonblocking context . Done () check