@Override
        public boolean canDestroy() {
            return lastTimestamp == 0;
        }
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