public boolean isRoot() {
      return root != null && Iterables.isEmpty(names);
    }
Returns whether or not this result represents a root path.
jimfs/src/main/java/com/google/common/jimfs/PathType.java