Added function hasTranslation(). #19