boolean (RunnerAndConfigurationSettings settings) { try { settings.checkSettings(null); return true; } catch (RuntimeConfigurationError ex) { return false; } catch (IndexNotReadyException | RuntimeConfigurationException ex) { return true; } }