implementations of is_stochastic + better NotImplemented message