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