code: def __normalize_list(self, msg):
          
          if isinstance(msg, list):
              msg = "".join(msg)
          return list(map(lambda x: x.strip(), msg.split(",")))
docs: Split message to list by commas and trim whitespace.