code: public static boolean isRoot(String appid) {
  		return StringUtils.equals(id(Config.getRootAppIdentifier()), id(appid));
  	}
docs: Return true if the app is the root app (the first one created).
  @param appid an app identifier
  @return true if root