public function exists($name, $data)
    {
        $servers = isset($this->config['servers']) ? $this->config['servers'] : null;

        if ((!$name || ($name && $name !== $data['name'])) &&
            isset($data['name']) && isset($servers[$data['name']])
        ) {
            return true;
        }
    }