Why not `if @headers?['content-type'] is 'application/json'` ?