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