'Ensure a container is destroyed.
:param timeout: Time before the destroy operation is abandoned.
:type timeout: ``int``'

def _destroyed(self, timeout=60):

    for _ in xrange(timeout):
        if (not self._container_exists(container_name=self.container_name, lxc_path=self.lxc_path)):
            break
        self._check_archive()
        self._check_clone()
        if (self._get_state() != 'stopped'):
            self.state_change = True
            self.container.stop()
        if self.container.destroy():
            self.state_change = True
        time.sleep(1)
    else:
        self.failure(lxc_container=self._container_data(), error=('Failed    to    destroy    container    [    %s    ]' % self.container_name), rc=1, msg=('The    container    [    %s    ]    failed    to    be    destroyed.    Check    that    lxc    is    available    and    that    the    container    is    in    a    functional    state.' % self.container_name))
