<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def disagg_outputs(value):
 """ Validate disaggregation outputs. For instance ['TRT', 'Mag_Dist'] ['TRT', 'Mag_Dist'] """

    values = value.replace(',', ' ').split()
    for val in values:
        if val not in disagg.pmf_map:
            raise ValueError('Invalid disagg output: %s' % val)
    return values