code: public boolean hasNamedGroupingPolicy(String ptype, String... params) {
          return hasNamedGroupingPolicy(ptype, Arrays.asList(params));
      }
docs: hasNamedGroupingPolicy determines whether a named role inheritance rule exists.
  
  @param ptype the policy type, can be "g", "g2", "g3", ..
  @param params the "g" policy rule.
  @return whether the rule exists.