The `withType` here returns a subset list, not a boolean. Wouldn't it require to check if the list is empty?