How to avoid duplicate entries when changing the text inside t() function in Drupal 7
I think there is not a better way, because all those strings are stored/returned in the database as the code is being read out.

I think there is no way to know if they are actually exists in code to be used or not.