Maybe a better check would be
```
np.ones((10, 1)).flags.f_contiguous and np.ones((10, 1)).flags.c_contiguous
```
since it doesn't depend on the details of the stride debugging hack?