code: def get_experiment(self, id):
      try:
          result = Experiment.objects.get(experiment_id=id)
          return result
      except Experiment.DoesNotExist:
          pass
  
      return None
  
file_path: modelchimp/modelchimp/views/consumers/experiment_level_reporting.py
imports: import json
  import asyncio
  from channels.db import database_sync_to_async
  from channels.generic.websocket import AsyncWebsocketConsumer
  from modelchimp.enum import ClientEvent, ServerEvent
  from modelchimp.models.membership import Membership
  from modelchimp.models.experiment import Experiment
  from modelchimp.utils.data_utils import execute_query
label_desc: Use image node_id 2 for calling the ExperimentLevelReportingConsumer obj's underlying member method code with example usage: obj.get_experiment(id) and returns: None, result