public boolean containsObserver(ConfigurationObserver observer) {
    synchronized (configurationObservers) {
      return configurationObservers.contains(observer);
    }
  }
Returns true if contains the observer, for unit test only
hbase-common/src/main/java/org/apache/hadoop/hbase/conf/ConfigurationManager.java