code: def _is_empty(self, response):
          
          if not response.content:
              return True
          try:
              body = response.json()
              return not body
          except ValueError:
              raise DeserializationError(
                  "Error occurred in deserializing the response body.")
docs: Check if response body contains meaningful content.
  
          :rtype: bool
          :raises: DeserializationError if response body contains invalid
           json data.