src/M6Web/Component/Redis/Manager.php
protected function checkServerConfig($servers)
    {
        if (!is_array($servers)) {
            return false;
        }
        foreach ($servers as $serverId => $server) {
            if (!is_string($serverId)) {
                return false;
            }
            if (!isset($server['ip']) or !isset($server['port'])) {
                return false;
            }
        }

        return true;
    }
protected function checkServerConfig($servers)
    {
        if (!is_array($servers)) {
            return false;
        }
        foreach ($servers as $serverId => $server) {
            if (!is_string($serverId)) {
                return false;
            }
            if (!isset($server['ip']) or !isset($server['port'])) {
                return false;
            }
        }

        return true;
    }
check the server config
@param array $servers host_config

@return boolean