code: public boolean isToBeUninstalled(String name, List<UninstallAsset> list) {
          for (UninstallAsset asset : list) {
              String fixName = asset.getIFixInfo().getId();
              if (fixName != null && fixName.equals(name)) {
                  return true;
              }
          }
          return false;
      }
docs: Verify the name is on the uninstall list
  
  @param name symbolic name of the fix
  @param list list of the uninstalling fix
  @return true if the feature is going to be uninstalled, otherwise, return false.