added isdual() function to types