def __contains__(self, host):
        raise Exception('No valid implementation for this...') # XXX

#        assert isinstance(host, (Host, HostContainer))
#
#        if isinstance(host, HostContainer):
#            host = host._host
#        return host.__class__ in self.get_hosts()
Return ``True`` when this host appears in this host container.
dataset/ETHPy150Open jonathanslenders/python-deployer/deployer/host_container.py/HostsContainer.__contains__