bool MapObject::is(HandleObject o) { return o->hasClass(&class_) && o->as<MapObject>().getPrivate(); }