public static boolean isAncestor(@NotNull FilePath ancestor, @NotNull FilePath path, boolean strict) {
    return isAncestor(ancestor.getPath(), path.getPath(), strict);
  }
public static boolean isAncestor(@NotNull FilePath ancestor, @NotNull FilePath path, boolean strict)