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