def _is_reachable(self, server):
try:<EOL><INDENT>server['<STR_LIT>'].ping()<EOL>return True<EOL><DEDENT>except UserWarning:<EOL><INDENT>self._logger.warn('<STR_LIT>' + server['<STR_LIT:url>'])<EOL><DEDENT>except Exception:<EOL><INDENT>self._logger.warn('<STR_LIT>' + server['<STR_LIT:url>'])<EOL><DEDENT>return False<EOL>
Checks if the given redis server is reachable