<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_field(setting, field_name, default):
 """ Extract result from single-value or dict-type setting like fallback_values. """

    if isinstance(setting, dict):
        return setting.get(field_name, default)
    else:
        return setting