class DeviceRenderer {

  public static boolean shouldShowSerialNumbers(@NotNull List<IDevice> devices) {
    Set<String> myNames = new HashSet<String>();
    for (IDevice currentDevice : devices) {
      if (currentDevice.isEmulator()) {
        continue;
      }

      String currentName = getDeviceName(currentDevice);
      if (myNames.contains(currentName)) {
        return true;
      }
      myNames.add(currentName);
    }
    return false;
  }

  private  DeviceRenderer();

}