protected static boolean isPropertyEntryRequested(String propertyId, Set<String> requestedIds) {
    for (String requestedId : requestedIds) {
      if (requestedId.startsWith(propertyId)) {
        return true;
      }
    }
    return false;
  }
Determine whether or not any of the requested ids are an entry for the given property, if
the given property is a category.  For example, if the given property is 'category/subcategory'
and the set of requested ids contains 'category/subcategory/property' then this method should
return true.

@param propertyId    the property id
@param requestedIds  the requested set of property ids

@return true if the given property is a category for any of the requested ids
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BaseProvider.java