@classmethod
def exists(cls, client, name):
    """Determine whether a container exists."""
    try:
        client.containers.get(name)
        return True
    except cls.NotFound:
        return False
