protected function _hasServer($host, $port)
    {
        $servers = $this->getServerList();
        foreach ($servers as $server) {
            if ($server['host'] === $host && $server['port'] === $port) {
                return true;
            }
        }

        return false;
    }
protected function _hasServer($host, $port)
    {
        $servers = $this->getServerList();
        foreach ($servers as $server) {
            if ($server['host'] === $host && $server['port'] === $port) {
                return true;
            }
        }

        return false;
    }
protected function _hasServer ( $ host , $ port ) { $ servers = $ this -> getServerList ( ) ; foreach ( $ servers as $ server ) { if ( $ server [ 'host' ] === $ host && $ server [ 'port' ] === $ port ) { return true ; } } return false ; }
Returns TRUE if the server is already added to Memcached, FALSE otherwise.

@param string $host
@param int    $port

@return boolean

@throws \BackBee\Cache\Exception\CacheException Occurs if none memcached object is not initialized
@codeCoverageIgnore
Returns TRUE if the server is already added to Memcached FALSE otherwise .