checks if content-type is set