code: def displayText(self, value, blank='', joiner=', '):
          
          if value is None:
              return ''
  
          labels = []
          for key, my_value in sorted(self.items(), key=lambda x: x[1]):
              if value & my_value:
                  labels.append(self._labels.get(my_value, text.pretty(key)))
  
          return joiner.join(labels) or blank
docs: Returns the display text for the value associated with
          the inputted text.  This will result in a comma separated
          list of labels for the value, or the blank text provided if
          no text is found.
          
          :param      value  | <variant>
                      blank  | <str>
                      joiner | <str>
          
          :return     <str>