@Override
        public Map<String, Object> snapshot() {
            Map<String, Object> snapshot = super.snapshot();
            snapshot.put("IsActive", active);
            snapshot.put("LastArrivalTime", lastArrivalTime);
            return snapshot;
        }
This flag turns to false after processing the first event if 'every' is not used.
modules/siddhi-core/src/main/java/io/siddhi/core/query/input/stream/state/AbsentLogicalPreStateProcessor.java