private boolean isDuplicateSdkName(String s, Sdk sdk) {
    for (Sdk existingSdk : myProjectSdksModel.getSdks()) {
      if (existingSdk == sdk) {
        continue;
      }
      if (existingSdk.getName().equals(s)) {
        return true;
      }
    }
    return false;
  }
private boolean isDuplicateSdkName(String s, Sdk sdk)