public boolean isPrefixPath() {
    if (nodes.length <= 0) {
      return false;
    }
    for (int i = 0; i < nodes.length - 1; i++) {
      if (nodes[i].equals(ONE_LEVEL_PATH_WILDCARD) || nodes[i].equals(MULTI_LEVEL_PATH_WILDCARD)) {
        return false;
      }
    }
    return nodes[nodes.length - 1].equals(MULTI_LEVEL_PATH_WILDCARD);
  }
Return true if the path ends with ** and no other nodes contain *. Otherwise, return false.
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/path/PartialPath.java