def has_managed_rooms(self, user): from indico.modules.rb_new.operations.rooms import has_managed_rooms return has_managed_rooms(user)