/** * When <code>true</code> the task is really finished. Can be overridden to update the real finished state stored in * database. For sample, a task can be finished from the client side, but not fully executed at the server side. * * @param task * The not <code>null</code> task to evaluate. * @return <code>true</code> when the task is finished. */ default boolean isFinished(final T task) { return task.isFinished(); }