boolean () { if (mySharedCheckbox.isSelected() != myShareScope) return true; final PackageSet currentScope = myPanel.getCurrentScope(); return !Comparing.strEqual(myPackageSet, currentScope != null ? currentScope.getText() : null); }