When is a gravitational-wave signal stochastic?