numpy.ndarray.cumprod
numpy.ndarray.any
Returns True if all elements evaluate to True.
Refer to numpy.all for full documentation.
See also