src/CacheManagerSubject.php
private function hasObserver(string $name) : bool
    {
        return !empty($this->observerContainer[$name]) && $this->observerContainer[$name]->count();
    }
private function hasObserver(string $name) : bool
    {
        return !empty($this->observerContainer[$name]) && $this->observerContainer[$name]->count();
    }
private function hasObserver ( string $ name ) : bool { return ! empty ( $ this -> observerContainer [ $ name ] ) && $ this -> observerContainer [ $ name ] -> count ( ) ; }
Check whatever observer container has at least one observer.

@param string $name

@return bool _true_ observer container has at least one observer, _false_ otherwise
Check whatever observer container has at least one observer .