private boolean isApplicable(SelectableItem item) {
boolean retval;
if (applicableMap.containsKey(item)) {
retval = applicableMap.get(item);
} else {
Group parent = item.getParent();
boolean parentApplicable;
if (parent != null) {
// We can assume that the parent has been visited already
parentApplicable = applicableMap.get(parent);