code: def join(self, vals):
          
          if len(vals) == 1:
              return vals[0]
          raise Exception(
              "Too many values for {}:{}".format(self._component_name, self._key)
          )
docs: Either return the non-list value or raise an Exception.
  
          Arguments:
          vals - a list of values to process