<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parse_set(string):
 """Parse set from comma separated string."""

    string = string.strip()
    if string:
        return set(string.split(","))
    else:
        return set()