code: public static boolean isRegistered(IpCamDevice ipcam) {
  
  		if (ipcam == null) {
  			throw new IllegalArgumentException("IP camera device cannot be null");
  		}
  
  		Iterator<IpCamDevice> di = DEVICES.iterator();
  		while (di.hasNext()) {
  			if (di.next().getName().equals(ipcam.getName())) {
  				return true;
  			}
  		}
  
  		return false;
  	}
docs: Is device registered?
  
  @param ipcam the IP camera device
  @return True if device is registsred, false otherwise