public static boolean listStartsWith(@NotNull List<String> path, @NotNull List<String> path1) {
    if (path1.size() > path.size()) {
      return false;
    }
    for (int i = 0; i < path1.size(); i++) {
      if (!path.get(i).equals(path1.get(i))) {
        return false;
      }
    }
    return true;
  }
public static boolean listStartsWith(@NotNull List<String> path, @NotNull List<String> path1)