Run
import numpy as np arr = np.array([[True,True],[True,True]]) result = np.all(arr) print(result)
Output