'Returns a boolean indicating if the remote host with "hostname"
supports use as a SerialHost'

@classmethod
def host_is_supported(cls, hostname, conmux_server=None, conmux_attach=None):

    conmux_attach = cls._get_conmux_attach(conmux_attach)
    conmux_hostname = cls._get_conmux_hostname(hostname, conmux_server)
    cmd = ('%s    %s    echo    2>    /dev/null' % (conmux_attach, conmux_hostname))
    try:
        result = utils.run(cmd, ignore_status=True, timeout=10)
        return (result.exit_status == 0)
    except error.CmdError:
        logging.warning('Timed    out    while    trying    to    attach    to    conmux')
    return False
