private boolean isLabelValid(String label) {
        if(label.startsWith(EVENT_SCOPE_SEPARATOR) || label.endsWith(EVENT_SCOPE_SEPARATOR)) {
            return false;
        }
        for(String scope: label.split(EVENT_SCOPE_SEPARATOR)) {
            if(!scope.matches("[a-zA-Z][a-zA-Z0-9]+")) {
                return false;
            }
        }
        return true;
    }
Ensure that an event label is well-formed
@param label The event to dispatch
@return Whether the label is well-formed
src/main/java/com/kodedu/service/impl/EventServiceImpl.java