public final synchronized boolean hasListeners ( String name ) { if ( this . map == null ) { return false ; } L [ ] array = this . map . get ( null ) ; return ( array != null ) || ( ( name != null ) && ( null != this . map . get ( name ) ) ) ; }
Indicates whether the map contains at least one listener to be notified .