if (o instanceof Task || o instanceof HappinessChangeEvent || o instanceof Asset || o instanceof PlanElement) return true; return false;
return (o instanceof Task || o instanceof PlanElement || o instanceof Asset || o instanceof HappinessChangeEvent);
  private static UnaryPredicate getPred() {    return new UnaryPredicate() {      public boolean execute(Object o) {	if (o instanceof Task || 	    o instanceof HappinessChangeEvent ||	    o instanceof Asset ||	    o instanceof PlanElement)	  return true;	return false;      }    };  }