src/main/java/org/intellimate/izou/sdk/frameworks/presence/provider/template/PresenceConstant.java
@Override
    public boolean controlEvents(EventModel eventModel) {
        if (level.compareTo(PresenceIndicatorLevel.WEAK) >= 0) {
            return present;
        } else //noinspection SimplifiableIfStatement
            if (level.compareTo(PresenceIndicatorLevel.WEAK) < 0 && mostVague.get()) {
            return present;
        } else {
            return true;
        }
    }
@Override
    public boolean controlEvents(EventModel eventModel) {
        if (level.compareTo(PresenceIndicatorLevel.WEAK) >= 0) {
            return present;
        } else //noinspection SimplifiableIfStatement
            if (level.compareTo(PresenceIndicatorLevel.WEAK) < 0 && mostVague.get()) {
            return present;
        } else {
            return true;
        }
    }
@ Override public boolean controlEvents ( EventModel eventModel ) { if ( level . compareTo ( PresenceIndicatorLevel . WEAK ) >= 0 ) { return present ; } else //noinspection SimplifiableIfStatement if ( level . compareTo ( PresenceIndicatorLevel . WEAK ) < 0 && mostVague . get ( ) ) { return present ; } else { return true ; } }
Controls whether the fired Event should be dispatched to all the listeners. This method should execute quickly

@param eventModel the Event
@return true if it should dispatch, false if not
Controls whether the fired Event should be dispatched to all the listeners . This method should execute quickly