do you mean for the Arduino to electrically see if an LED is connected or not, rather than checking to see if it lights?