Yes there is but there's no sure way to tell with every case. Most of the time the ear has been exposed to loud noises and permanently damaged. Nervous system and cochlea hair cells do not come back. Very rarely is tinnitus caused by brain damage.
Tinnitus can also happen temporarily due to high aspirin dosage, panic attack, acoustic trauma, medication, etc...