Test whether any array element along a given axis evaluates to True.
numpy.anyfor full documentation.
axis : int, optional
Axis along which logical OR is performed
out : ndarray, optional
Output to existing array instead of creating new one, must have same shape as expected output
any : bool, ndarray
Returns a single bool if axis is
None; otherwise, returns