Implement isducktype