checks if the response is json or not by looking at the responses headers

response_is_json(x)

Arguments

x

A response