code: def container_exists(self, id=None, name=None):
          
          exists = False
          if id and self.container_by_id(id):
              exists = True
          elif name and self.container_by_name(name):
              exists = True
  
          return exists
docs: Checks if container exists already