Checking State of LED inside an array?

Something like that, but you're not labelling your "0".
Also, you gave 8 a nice name, but then chose not to use it.