public boolean startsWith(String prefix) {
    return getFullPath().startsWith(prefix);
  }
This PartialPath represents for full device path
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/path/PartialPath.java