boolean () { Application app = getApp(); // disable checks in tests, if not asked if (app.isUnitTestMode() && app.getUserData(ENABLE_IN_TESTS) != Boolean.TRUE) { return true; } return ACCESS_ALLOWED.getValue(app).get() > 0; }