Duck typing for MultiDict