@Contract(pure = true)
  private static boolean isEmptyOrSpacesWithLeadingAsterisksOnly(@NotNull String lines) {
    if (lines.isEmpty()) return true;
    return lines.matches("^\\s*\\**\\s*$");
  }
@Contract(pure = true)
  private static boolean isEmptyOrSpacesWithLeadingAsterisksOnly(@NotNull String lines)