@Override
    public Attribute.Type getReturnType() {
        return Attribute.Type.BOOL;
    }
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