code: public boolean isSupportedNotificationFilter(NotificationFilter filter) {
          Class<?> clazz = filter.getClass();
          return clazz == AttributeChangeNotificationFilter.class ||
                 clazz == MBeanServerNotificationFilter.class ||
                 clazz == NotificationFilterSupport.class;
      }
docs: Check if a NotificationFilter is a standard filter that can be
  send to a JMX server.
  
  @param filter The filter to check. Can't be null.
  @return Whether the filter is a standard one