def create(self, name, *args, **kwargs):
        cont = kwargs.get("cont")
        if cont:
            # Verify that it exists. If it doesn't, a NoSuchContainer exception
            # will be raised.
            api = self.api
            rgn = api.region_name
            cf = api.identity.object_store[rgn].client
            cf.get_container(cont)
        return super(ImageTasksManager, self).create(name, *args, **kwargs)
Standard task creation, but first check for the existence of the
dataset/ETHPy150Open rackspace/pyrax/pyrax/image.py/ImageTasksManager.create