public static bool HasFeature(string[] keywords, DefineFeature feature)
 {
    string f = GetFeatureName(feature);
    for (int i = 0; i < keywords.Length; ++i)
    {
       if (keywords[i] == f)
          return true;
    }
    return false;
 }
 public static string GetFeatureName(DefineFeature feature)
 {
    string ret;
    if (sFeatureNames.TryGetValue(feature, out ret))
    {
       return ret;
    }
    string fn = System.Enum.GetName(typeof(DefineFeature), feature);
    sFeatureNames[feature] = fn;
    return fn;
 }
 // Can we template these somehow?
 public static string GetFeatureName(DefineFeature feature)
 {
     return(System.Enum.GetName(typeof(DefineFeature), feature));
 }