Numba compatible implementation of np.all(…, axis=2) for 3d arrays.
The input array
The results of np.all(…, axis=2)