def resolve_exp_resp_string_as_list(element):
    """ User given comma separated data is converted into a list.
    If no data is given, then an empty list is formed.
    """
    if element is not None and element is not False:
        if element == "":
            element = []
        else:
            temp_list = element.split(",")
            for i in range(0, len(temp_list)):
                temp_list[i] = temp_list[i].strip()
            element = temp_list
    return element