public static boolean isAncestor(@NotNull String ancestor, @NotNull String file, boolean strict) {
    return !ThreeState.NO.equals(isAncestorThreeState(ancestor, file, strict));
  }
public static boolean isAncestor(@NotNull String ancestor, @NotNull String file, boolean strict)