boolean (@NotNull Project project) { if (ProjectUtil.isNotificationSilentMode(project)) return true; final RunManager runManager = RunManager.getInstance(project); final RunnerAndConfigurationSettings selectedConfiguration = runManager.getSelectedConfiguration(); if (selectedConfiguration == null) { return true; } final RunConfiguration configuration = selectedConfiguration.getConfiguration(); if (!(configuration instanceof AbstractPythonRunConfiguration runConfiguration)) { return true; } // Temporarily disable notification for Remote interpreters return PythonSdkUtil.isRemote(runConfiguration.getSdk()); }