if (gratuityEvent.isOpen()) {
if (gratuityEvent.isInDebt()) {
    public boolean hasAnyNotPayedGratuityEvents() {	for (final GratuityEvent gratuityEvent : getGratuityEvents()) {	    if (gratuityEvent.isOpen()) {		return true;	    }	}	return false;    }