Returns the text for the inputted value.
        
        :return     <str>

def text(self, value, default=''):
        """
        Returns the text for the inputted value.
        
        :return     <str>
        """
        for key, val in self.items():
            if val == value:
                return key
        return default