code: public boolean isHubPath(String path) throws IOException {
          if ("/".equals(path))
              return true;
          for (String root : getNonHubRoots()) {
              if (root.startsWith("*")) {
                  if (path.endsWith(root.substring(1)))
                      return false;
              }
              else if (path.equals(root) || path.startsWith(root + "/")) {
                  return false;
              }
          }
          return true;
      }
docs: Returns true unless excluded by getNonHubRoots().