np.ll

# np.all checks if all of the elements along an axis evaluate to true

a = [x for x in range(0, 10)]
b = np.array(a)
print(np.all(a ==b))

# output is True
ryaba_ryaba_