def METHOD_NAME(self, cont):
    """
    Delete a Swift container
    """
    try:
        self.conn.METHOD_NAME(cont)
        return True
    except Exception as exc:  # pylint: disable=broad-except
        log.error("There was an error::")
        if hasattr(exc, "code") and hasattr(exc, "msg"):
            log.error("    Code: %s: %s", exc.code, exc.msg)
        log.error("    Content: \n%s", getattr(exc, "read", lambda: str(exc))())
        return False