code: public boolean needExclude(final Attributes atts, final QName[][] extProps) {
          if (filterMap.isEmpty()) {
              return false;
          }
  
          for (final QName attr: filterAttributes) {
              final String value = atts.getValue(attr.getNamespaceURI(), attr.getLocalPart());
              if (value != null) {
                  final Map<QName, List<String>> groups = getGroups(value);
                  for (Map.Entry<QName, List<String>> group: groups.entrySet()) {
                      final QName[] propList =
                              group.getKey() != null
                                      ? new QName[]{attr, group.getKey()}
                                      : new QName[]{attr};
                      if (extCheckExclude(propList, group.getValue())) {
                          return true;
                      }
                  }
              }
          }
  
          if (extProps != null && extProps.length != 0) {
              for (final QName[] propList: extProps) {
                  int propListIndex = propList.length - 1;
                  final QName propName = propList[propListIndex];
                  String propValue = atts.getValue(propName.getNamespaceURI(), propName.getLocalPart());
  
                  while ((propValue == null || propValue.trim().isEmpty()) && propListIndex > 0) {
                      propListIndex--;
                      final QName current = propList[propListIndex];
                      propValue = getLabelValue(propName, atts.getValue(current.getNamespaceURI(), current.getLocalPart()));
                  }
                  if (propValue != null && extCheckExclude(propList, Arrays.asList(propValue.split("\\s+")))) {
                      return true;
                  }
              }
          }
          return false;
      }
docs: Check if the given Attributes need to be excluded.
  
  @param atts attributes
  @param extProps {@code props} attribute specializations
  @return {@code true} if any profiling attribute was excluded, otherwise {@code false}