Cautious assessment of the response body for no content.

def no_content_response(response):
    "Cautious assessment of the response body for no content."
    if not hasattr(response, '_container'):
        return True

    if response._container is None:
        return True

    if isinstance(response._container, (list, tuple)):
        if len(response._container) == 1 and not response._container[0]:
            return True

    return False