@Override
        public void restore(Map<String, Object> state) {
            this.lastTimestamp = ((long) state.get("lastTimestamp"));
        }
return true/false based on timestamp values

@param data  of Long type
@param state function state
@return true/false
modules/siddhi-core/src/main/java/io/siddhi/core/executor/incremental/IncrementalShouldUpdateFunctionExecutor.java