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