@Override
  public boolean shouldDispatchListenerEvent() {
    return hasListener();
  }
Check if the region has has a Listener or not

@return true only if this region has a Listener
geode-core/src/main/java/org/apache/geode/internal/cache/LocalRegion.java