human
I wrote the below code

    def build_condition(cdata, cond_root_tag, condition_tag):
        kind = cdata['condition-kind']
        ctag = XML.SubElement(cond_root_tag, condition_tag)
        core_prefix = 'org.jenkins_ci.plugins.run_condition.core.'
        logic_prefix = 'org.jenkins_ci.plugins.run_condition.logic.'
        if (kind == 'always'):
            ctag.set('class', (core_prefix + 'AlwaysRun'))
        elif (kind == 'never'):
            ctag.set('class', (core_prefix + 'NeverRun'))
        elif (kind == 'boolean-expression'):
            ctag.set('class', (core_prefix + 'BooleanCondition'))
            try:
                XML.SubElement(ctag, 'token').text = cdata['condition-expression']
            except KeyError:
                raise MissingAttributeError('condition-expression')
        elif (kind == 'build-cause'):
            ctag.set('class', (core_prefix + 'CauseCondition'))
            cause_list = ('USER_CAUSE', 'SCM_CAUSE', 'TIMER_CAUSE', 'CLI_CAUSE', 'REMOTE_CAUSE', 'UPSTREAM_CAUSE', 'FS_CAUSE', 'URL_CAUSE', 'IVY_CAUSE', 'SCRIPT_CAUSE', 'BUILDRESULT_CAUSE')
            cause_name = cdata.get('cause', 'USER_CAUSE')
            if (cause_name not in cause_list):
                raise InvalidAttributeError('cause', cause_name, cause_list)
            XML.SubElement(ctag, 'buildCause').text = cause_name
            XML.SubElement(ctag, 'exclusiveCause').text = str(cdata.get('exclusive-cause', False)).lower()
        elif (kind == 'day-of-week'):
            ctag.set('class', (core_prefix + 'DayCondition'))
            day_selector_class_prefix = (core_prefix + 'DayCondition$')
            day_selector_classes = {'weekend': (day_selector_class_prefix + 'Weekend'), 'weekday': (day_selector_class_prefix + 'Weekday'), 'select-days': (day_selector_class_prefix + 'SelectDays')}
            day_selector = cdata.get('day-selector', 'weekend')
            if (day_selector not in day_selector_classes):
                raise InvalidAttributeError('day-selector', day_selector, day_selector_classes)
           ...

What's a good function header?
 Write me a Python program to fix = 'org?
assistant
#Here is Python program to fix = 'org.

def conditional_step(registry, xml_parent, data):