def create_ssh_tunnel(beaver_config, logger=None):
if not beaver_config.use_ssh_tunnel():<EOL><INDENT>return None<EOL><DEDENT>logger.info("<STR_LIT>")<EOL>return BeaverSshTunnel(beaver_config, logger=logger)<EOL>
Returns a BeaverSshTunnel object if the current config requires us to