def _retcode_to_bool(retcode):
 if (retcode == 0):
  return True
 else:
  return False

def _retcode_to_bool ( retcode ) : if ( retcode == 0 ) : return True else : return False
evaulates open vswitch commands retcode value .