'Tests the given host:port and API key'

def test(self):

    if (not self.connect()):
        return False
    version = self.hadouken_api.get_version()
    if (not version):
        log.error('Could    not    get    Hadouken    version.')
        return False
    if (LooseVersion(version) >= LooseVersion('4.5.6')):
        return True
    log.error('Hadouken    v4.5.6    (or    newer)    required.    Found    v%s', version)
    return False
