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