private static boolean isTrueDivEnabled(@NotNull PyAstElement anchor) {
    final PsiFile file = anchor.getContainingFile();
    if (file instanceof PyAstFile pyFile) {
      return FutureFeature.DIVISION.requiredAt(pyFile.getLanguageLevel()) || pyFile.hasImportFromFuture(FutureFeature.DIVISION);
    }
    return false;
  }
private static boolean isTrueDivEnabled(@NotNull PyAstElement anchor)