Checking a Boolean in an array

Never mind I can just use a for loop with break and break out if one of them has the variable I don’t want.