'Check if a container exists.
:param container_name: Name of the container.
:type: ``str``
:returns: True or False if the container is found.
:rtype: ``bol``'

@staticmethod
def _container_exists(container_name, lxc_path=None):

    if [i for i in lxc.list_containers(config_path=lxc_path) if (i == container_name)]:
        return True
    else:
        return False
