numpy.ndarray.__bool__

method

ndarray.__bool__(/)

self != 0