public boolean hasEvent(TimelineEvent<E> event) {
        return events.contains(event);
    }
Check if current model has the event passed as parameter.
@param event
@return
primefaces/src/main/java/org/primefaces/model/timeline/TimelineModel.java