private static boolean stringContentCanBeInlinedIntoFString(@NotNull PyStringElement inlinedStringElement,
                                                              @NotNull PyFormattedStringElement targetFString) {
    if (LanguageLevel.forElement(targetFString).isAtLeast(LanguageLevel.PYTHON312)) return true;
    String content = inlinedStringElement.getContent();
    if (targetFString.isTripleQuoted()) {
      return !content.contains("\\");
    }
    return !content.contains("'") && !content.contains("\"") && !content.contains("\\");
  }
private static boolean stringContentCanBeInlinedIntoFString(@NotNull PyStringElement inlinedStringElement,
                                                              @NotNull PyFormattedStringElement targetFString)