@Override
    protected Object execute(Object data, FunctionState state) {
        long timestamp = (long) data;
        if (timestamp >= state.lastTimestamp) {
            state.lastTimestamp = timestamp;
            return true;
        }
        return false;
    }
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