Check element status in boolean array

I answered this question already, why re-post? Especially since you didn’t even respond to your original question.