public static boolean containsArguments(String propertyId) {
    if (!propertyId.contains("$")) {
      return false;
    }
    Matcher matcher = CHECK_FOR_METRIC_ARGUMENTS_REGEX.matcher(propertyId);
    return matcher.find();
  }
Check to see if the given property id contains replacement arguments (e.g. $1)

@param propertyId  the property id to check

@return true if the given property id contains any replacement arguments
ambari-server/src/main/java/org/apache/ambari/server/controller/utilities/PropertyHelper.java