def _ofport_result_pending(result):
 try:
  int(result)
  return False
 except (ValueError, TypeError):
  return True

def _ofport_result_pending ( result ) : try : int ( result ) return False except ( ValueError , TypeError ) : return True
return true if ovs-vsctl indicates the result is still pending .