public boolean checkUidExists(String uid) throws DataAccessException {
  return getDeviceInfo(uid) != null;
}

public boolean checkUidExists ( String uid ) throws DataAccessException { return getDeviceInfo ( uid ) != null ; }
checks to see if the device id ( uid ) already exist in the device table
