code: def display_text(
      display,
      font,
      text: [str],
      color=(255, 255, 255),
      origin=(0, 0),
      offset=(0, 2),
  ):
      position = origin
  
      for line in text:
          if isinstance(line, dict):
              display.blit(
                  font.render(
                      line.get("text"), True, line.get("color", color)
                  ),
                  position,
              )
          else:
              display.blit(font.render(line, True, color), position)
  
          position = (position[0] + offset[0], position[1] + offset[1])
  
imports: import os
  import cv2
  import math
  import random
  import numpy
  import carla
  import pygame
  import threading
  import datetime
  from typing import Union
  from tensorforce.agents import Agent
label_desc: Use image node_id 5 for calling a global function with example usage: display_text(display, font, text, color, origin, offset) without return types