private static final boolean hasNotification(final ModelMBeanInfo info,final String notifName){
  try {
    if (info == null)     return false;
 else     return (info.getNotification(notifName) != null);
  }
 catch (  MBeanException x) {
    return false;
  }
catch (  RuntimeOperationsException r) {
    return false;
  }
}

private static final boolean hasNotification ( final ModelMBeanInfo info , final String notifName ) { try { if ( info == null ) return false ; else return ( info . getNotification ( notifName ) != null ) ; } catch ( MBeanException x ) { return false ; } catch ( RuntimeOperationsException r ) { return false ; } }
returns ` true ' if the notification ` notifname ' is found in ` info ' . ( bug 4744667 )
