Chaos::ShouldExecuteTasksInParallel

Helper to call from task execution logic that does not use ParallelFor, to know if it should use parallel execution or not.