def METHOD_NAME(self, key):
    """
    This function tests if a text for a given key exists
    """
    if len(self.translations) is 0:
        return 0
    else:
        if key is "All":
            return 1
        else:
            for actfile in self.translations:
                #print str(actfile.key).strip()
                if str(key).strip() == str(actfile.key).strip():
                    return 1
            return 0