If the leads have been cut, you can look for the FLAT machined at the base of the LED & determine its the CATHODE -