public boolean isEmptyPath() {
    return root == null && names.size() == 1 && names.get(0).toString().isEmpty();
  }
Returns whether or not this is the empty path, with no root and a single, empty string, name.
jimfs/src/main/java/com/google/common/jimfs/JimfsPath.java