@staticmethod
def _is_sadpanda(response):
    """Return True if the response object contains a sad panda"""
    return response.headers.get('Content-Length'
        ) == '9615' and 'sadpanda.jpg' in response.headers.get(
        'Content-Disposition', '')
