Checking if key exists in localizations dict