public static boolean hasEnabledAlternativeJre(@NotNull RunnerAndConfigurationSettings settings) {
    return settings.getConfiguration() instanceof ConfigurationWithAlternativeJre jreConf &&
           jreConf.isAlternativeJrePathEnabled();
  }
public static boolean hasEnabledAlternativeJre(@NotNull RunnerAndConfigurationSettings settings)