/** * Check whether the given watcher exists in datatree * * @param path node to check watcher existence * @param type type of watcher * @param watcher watcher function */ public boolean containsWatcher(String path, WatcherType type, Watcher watcher) { return dataTree.containsWatcher(path, type, watcher); }