code: boolean containFeature(Map<String, ProvisioningFeatureDefinition> installedFeatures, String feature) {
          if (installedFeatures.containsKey(feature))
              return true;
          for (ProvisioningFeatureDefinition pfd : installedFeatures.values()) {
              String shortName = InstallUtils.getShortName(pfd);
              if (shortName != null && shortName.equalsIgnoreCase(feature))
                  return true;
          }
          return false;
      }
docs: Checks if the feature is in installedFeatures
  
  @param installedFeatures the map of installed features
  @param feature the feature to look for
  @return true if feature is in installedFeatures