human
Solve the following python programming problem given the following code:
def _nic_profile(profile_name, hypervisor, **kwargs) : 
    default = [{ 
        'eth0' : { 
            
}, 
}] 
    vmware_overlay = { 
        'type' : 'bridge', 
        'source' : 'DEFAULT', 
        'model' : 'e1000', 
} 
    kvm_overlay = { 
        'type' : 'bridge', 
        'source' : 'br0', 
        'model' : 'virtio', 
} 
    overlays = { 
        'kvm' : kvm_overlay, 
        'qemu' : kvm_overlay, 
        'esxi' : vmware_overlay, 
        'vmware' : vmware_overlay, 
} 
    config_data = __salt__ ['config.option'] ('virt.nic', { 
        
}).get (profile_name, None) 
    if (config_data is None) : 
        config_data = __salt__ ['config.get'] ('virt:nic', { 
            
}).get (profile_name, default) 
interfaces = [] 
    def append_dict_profile_to_interface_list(profile_dict) : 
        for (interface_name, attributes) in six.iteritems (profile_dict) : 
            attributes ['name'] = interface_name 
            interfaces.append (attributes) 
if isinstance (config_data, dict) : 
        append_dict_profile_to_interface_list (config_data) 
else : 
        if isinstance (config_data, list) : 
            for interface in config_data : 
                if isinstance (interface, dict) : 
                    if (len (interface) == 1) : 
                        append_dict_profile_to_interface_list (interface) 
else : 
                        interfaces.append (interface) 
def _normalize_net_types(attributes) : 
        '
        Guess which style of definition:

            bridge: br0

             or

            network: net0

             or

            type: network
            source: net0
        ' 
        for type_ in ['bridge', 'network'] : 
            if (type_ in attributes) : 
                attributes ['type'] = type_ 
                attributes ['source'] = attributes.pop (type_) 
attributes ['type'] = attributes.get ('type', None) 
        attributes ['source'] = attributes.get ('source', None) 
def _apply_default_overlay(attributes) : 
        for (key, value) in...

    
    

    Fix the buggy line: if (hypervisor in _apply_default_overlay) :
assistant
#Here is Python code to fix the buggy line: if (hypervisor in _apply_default_overlay) :
.

if (hypervisor in overlays) :