protected boolean isPatternKey(String id) {
    return patterns.containsKey(id);
  }
Extracts set of matcher.group() from id
@param regExpKey
@param id
@return extracted regex groups from id
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BaseProvider.java