adds boolean method to check if media type is HTML

refs #140