def METHOD_NAME(request, session_target_sat, session_puppet_enabled_sat):
    if request.param:
        sat = session_puppet_enabled_sat
    else:
        sat = session_target_sat
    return {'sat': sat, 'enabled': request.param}