docs: public boolean hasPolicy(String sec, String ptype, List<String> rule) {
          for (List<String> r : model.get(sec).get(ptype).policy) {
              if (Util.arrayEquals(rule, r)) {
                  return true;
              }
          }
  
          return false;
      }