Looking at the ContentType might be slightly more correct