boolean (TreeAction action) { String propertyName = action instanceof PropertyOwner ? ((PropertyOwner)action).getPropertyName() : action.getName(); var defaultValue = Sorter.ALPHA_SORTER.equals(action) || hasEnabledStateByDefault(action); return PropertiesComponent.getInstance().getBoolean(TreeStructureUtil.getPropertyName(propertyName), defaultValue); }