boolean () { if (ourAlwaysAllow == 1) { return true; } if (ourAlwaysAllow == 0) { return false; } if (!LoadingState.APP_STARTED.isOccurred()) { return true; } Application application = ApplicationManager.getApplication(); boolean result = System.getenv("TEAMCITY_VERSION") != null || application.isUnitTestMode() || application.isCommandLine() || !application.isEAP() && !application.isInternal() && !SystemProperties .getBooleanProperty(IDEA_PLUGIN_SANDBOX_MODE, false); ourAlwaysAllow = result ? 1 : 0; return result; }