def METHOD_NAME(self):
    http_entity = mock.MagicMock()
    headers = {}
    http_entity.headers = headers
    headers["content-type"] = "APPLICATION/JSON; charset=utf-8"
    self.assertTrue(is_json_payload(http_entity))
    headers["content-type"] = "application/json; charset=utf-8"
    self.assertTrue(is_json_payload(http_entity))
    headers["content-type"] = "application/xml; charset=utf-8"
    self.assertFalse(is_json_payload(http_entity))