BUG: Ensured any and all return boolean values, gh-4352

Continued from #4385
I think you'd want `assert_(np.any(y1) is np.True_`), since what you have will pass with current numpy:
```
np.any(np.array([0, 0, 0, 1], dtype=object))
In [1]: import astropy.units as u, numpy as np

In [2]: np.any(np.array([0, 0, 0, 1]))
Out[2]: True

In [3]: np.any(np.array([0, 0, 0, 1])) is np.True_
Out[3]: True

In [4]: np.any(np.array([0, 0, 0, 1], dtype=object))
Out[4]: 1

In [5]: np.any(np.array([0, 0, 0, 1], dtype=object)) == True
Out[5]: True

In [6]: np.any(np.array([0, 0, 0, 1], dtype=object)) is np.True_
Out[6]: False
```