public boolean hasTimeLeft() {
        return clock.instant().isBefore(endTime);
    }
Handles a timeout logic by providing higher level abstraction for asking if there is time left.

@author Ulf Lilleengen
configserver/src/main/java/com/yahoo/vespa/config/server/TimeoutBudget.java