Checking State of LED inside an array?