Yes, LEDs are polarity sensitive.