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