private static boolean _canCreate(GrouperSession s, String stem) {
private static boolean _canCreate( GrouperSession s, String stem, String type ) {
  private static boolean _canCreate(GrouperSession s, String stem) {    boolean rv = false;    if (GrouperBackend.sessionValid(s)) {      // We are adding a top-level namespace.      if (stem.equals(Grouper.NS_ROOT)) {        // And only member.system can do so in this release        if (s.subject().getId().equals(Grouper.config("member.system"))) {          return true;        }      } else {        // Does the current subject have CREATE on `stem'?        GrouperGroup ns = GrouperBackend.groupLoadByName(                            s, stem, Grouper.NS_TYPE                          );        if (ns != null) {          if (Grouper.naming().has(s, ns, Grouper.PRIV_CREATE)) {            rv = true;          }        }      }    }    return rv;  }