public boolean endWithMultiLevelWildcard() {
    return PathPatternUtil.isMultiLevelMatchWildcard(nodes[nodes.length - 1]);
  }
only use this method in following situations: 1. you are sure you do not want to split the
path. 2. you are sure path is correct.

@param path path
@param needSplit whether to split path to nodes, needSplit can only be false.
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/path/PartialPath.java