Neater test for types in content_state_equal
Neater test for types in content_state_equal

discussion: https://github.com/wagtail/wagtail/pull/4136#discussion_r162669531

thenewguy/wagtail,timorieber/wagtail,thenewguy/wagtail,torchbox/wagtail,mixxorz/wagtail,timorieber/wagtail,FlipperPA/wagtail,rsalmaso/wagtail,wagtail/wagtail,mixxorz/wagtail,jnns/wagtail,FlipperPA/wagtail,mixxorz/wagtail,nealtodd/wagtail,wagtail/wagtail,wagtail/wagtail,zerolab/wagtail,mixxorz/wagtail,timorieber/wagtail,mikedingjan/wagtail,torchbox/wagtail,jnns/wagtail,timorieber/wagtail,gasman/wagtail,nealtodd/wagtail,kaedroho/wagtail,nimasmi/wagtail,mikedingjan/wagtail,gasman/wagtail,rsalmaso/wagtail,nealtodd/wagtail,kaedroho/wagtail,FlipperPA/wagtail,kaedroho/wagtail,kaedroho/wagtail,thenewguy/wagtail,zerolab/wagtail,rsalmaso/wagtail,jnns/wagtail,rsalmaso/wagtail,mixxorz/wagtail,torchbox/wagtail,nealtodd/wagtail,FlipperPA/wagtail,rsalmaso/wagtail,mikedingjan/wagtail,jnns/wagtail,nimasmi/wagtail,torchbox/wagtail,nimasmi/wagtail,takeflight/wagtail,takeflight/wagtail,mikedingjan/wagtail,thenewguy/wagtail,gasman/wagtail,wagtail/wagtail,zerolab/wagtail,gasman/wagtail,wagtail/wagtail,zerolab/wagtail,nimasmi/wagtail,thenewguy/wagtail,gasman/wagtail,takeflight/wagtail,zerolab/wagtail,kaedroho/wagtail,takeflight/wagtail