Why don't you simply test its polarity and pins with the DIODE TEST function on a multimeter?
When the polarity is correct then the segment will light dimly.
If you do not have a multimeter then the polarity and pins can be checked with a 9V battery in series with a 1k resistor.