public boolean hasExplicitDevice() {
    if (nodes[nodes.length - 1].equals(MULTI_LEVEL_PATH_WILDCARD)) {
      return false;
    }
    for (int i = 0; i < nodes.length - 1; i++) {
      // *, ** , d*, *d*
      if (PathPatternUtil.hasWildcard(nodes[i])) {
        return false;
      }
    }
    return true;
  }
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