answer = any(matrix)
Returns 1 if any of the elements of the supplied matrix are not zero.
any([0,0;0,0]) = 0 any([1,0;0,0]) = 1
and, eye, all