compound: Add method for checking if type is compound or not
compound: Add method for checking if type is compound or not

Will be used by legacy comparator.

capturePointer/scylla,eklitzke/scylla,raphaelsc/scylla,glommer/scylla,avikivity/scylla,acbellini/scylla,eklitzke/scylla,glommer/scylla,linearregression/scylla,aruanruan/scylla,rentongzhang/scylla,wildinto/scylla,scylladb/scylla,respu/scylla,duarten/scylla,dwdm/scylla,kjniemi/scylla,bowlofstew/scylla,stamhe/scylla,avikivity/scylla,rluta/scylla,stamhe/scylla,aruanruan/scylla,gwicke/scylla,respu/scylla,victorbriz/scylla,tempbottle/scylla,scylladb/scylla,bowlofstew/scylla,rentongzhang/scylla,justintung/scylla,gwicke/scylla,phonkee/scylla,gwicke/scylla,respu/scylla,dwdm/scylla,rluta/scylla,acbellini/scylla,asias/scylla,eklitzke/scylla,guiquanz/scylla,kjniemi/scylla,wildinto/scylla,wildinto/scylla,tempbottle/scylla,linearregression/scylla,kangkot/scylla,bowlofstew/scylla,linearregression/scylla,acbellini/scylla,kangkot/scylla,stamhe/scylla,senseb/scylla,raphaelsc/scylla,kangkot/scylla,phonkee/scylla,justintung/scylla,kjniemi/scylla,phonkee/scylla,duarten/scylla,aruanruan/scylla,asias/scylla,victorbriz/scylla,guiquanz/scylla,rluta/scylla,rentongzhang/scylla,senseb/scylla,raphaelsc/scylla,scylladb/scylla,shaunstanislaus/scylla,glommer/scylla,duarten/scylla,scylladb/scylla,capturePointer/scylla,shaunstanislaus/scylla,avikivity/scylla,shaunstanislaus/scylla,capturePointer/scylla,asias/scylla,guiquanz/scylla,tempbottle/scylla,justintung/scylla,victorbriz/scylla,dwdm/scylla,senseb/scylla