def require_target_existed(targets):
 if (not targets['list']):
  msg = output_log(MSG.NO_CONNECTED_TARGET)
  raise exception.VSPError(msg)

def require_target_existed ( targets ) : if ( not targets [ 'list' ] ) : msg = output_log ( MSG . NO_CONNECTED_TARGET ) raise exception . VSPError ( msg )
check if the target list includes one or more members .