Checks if the Content-Type is of a certain type. This is useful if the
Content-Type header contains charset information and you need to know if
the Content-Type matches a particular type.
File
drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Response.php, line 522