code: def comma_delimited_to_list(list_param):
      
      if isinstance(list_param, list):
          return list_param
      if isinstance(list_param, str):
          return list_param.split(',')
      else:
          return []
docs: Convert comma-delimited list / string into a list of strings
  
      :param list_param: Comma-delimited string
      :type list_param: str | unicode
      :return: A list of strings
      :rtype: list