use type-is to check content-type