boolean () { String path = ShSettings.getShellcheckPath(); if (ShSettings.I_DO_MIND_SUPPLIER.get().equals(path)) return false; File file = new File(path); if (!file.canExecute()) return false; if (!file.getName().contains(SHELLCHECK)) return false; try { GeneralCommandLine commandLine = new GeneralCommandLine().withExePath(path).withParameters("--version"); ProcessOutput processOutput = ExecUtil.execAndGetOutput(commandLine, 3000); String stdout = processOutput.getStdout(); return !stdout.contains(SHELLCHECK_VERSION) && !ShSettings.getSkippedShellcheckVersion().equals(SHELLCHECK_VERSION); } catch (ExecutionException e) { LOG.debug("Exception in process execution", e); } return false; }