function to check for other types similar to #3007
function to check for other types similar to #3007

gijsleussink/ceylon,gijsleussink/ceylon,gijsleussink/ceylon,gijsleussink/ceylon,gijsleussink/ceylon