code: private boolean matches(MBeanPolicyConfig pConfig, Arg pArg) {
  
          Set<String> values = pConfig.getValues(pArg.getType(),pArg.getName());
          if (values == null) {
              ObjectName pattern = pConfig.findMatchingMBeanPattern(pArg.getName());
              if (pattern != null) {
                  values = pConfig.getValues(pArg.getType(),pattern);
              }
          }
          return values != null && (values.contains(pArg.getValue()) || wildcardMatch(values,pArg.getValue()));
      }
docs: Lookup methods