def METHOD_NAME(form_data, target_sat):
    guest_name, _ = get_guest_info(form_data['hypervisor_type'])
    results = target_sat.api.Host().search(query={'search': guest_name})
    if results:
        target_sat.api.Host(id=results[0].read_json()['id']).delete()