code: def _get_render_prepared_object(cls, context, **option_values):
          
          ctx_vals = cls._create_contextualvals_obj_from_context(context)
          opt_vals = cls._create_optionvals_obj_from_values(**option_values)
  
          if issubclass(cls, models.Model):
              instance = cls.get_from_collected_values(ctx_vals, opt_vals)
          else:
              instance = cls.create_from_collected_values(ctx_vals, opt_vals)
          if not instance:
              return None
  
          instance.prepare_to_render(context['request'], ctx_vals, opt_vals)
          return instance
docs: Returns a fully prepared, request-aware menu object that can be used
          for rendering. ``context`` could be a ``django.template.Context``
          object passed to ``render_from_tag()`` by a menu tag.