from typing import Set


def arg_to_set(arg: str) -> Set[str]:
    """
    Convert given comma separated string to set.
    Args:
        arg (str): list as comma separated string.

    Returns: Set

    """
    if not isinstance(arg, str):
        return set()
    arg_list = arg.split(',')
    return set(arg_list)