code: def add_hdri_dome(kubasic_source, scene, background_hdri=None):
      # Dome
      dome = kubasic_source.create(
          asset_id="dome", name="dome", static=True, background=True
      )
      assert isinstance(dome, kb.FileBasedObject)
      scene += dome
  
      # pylint: disable=import-outside-toplevel
      from kubric.renderer import Blender
      from kubric.safeimport.bpy import bpy
  
      blender_renderer = [
          v for v in scene.views if isinstance(v, Blender)
      ]
      if blender_renderer:
          dome_blender = dome.linked_objects[blender_renderer[0]]
          if background_hdri is not None:
              dome_mat = dome_blender.data.materials[0]
              texture_node = dome_mat.node_tree.nodes["Image Texture"]
              texture_node.image = bpy.data.images.load(
                  background_hdri.filename
              )
      return dome
  
file_path: kubric/kubric/assets/utils.py
imports: import numpy
  import kubric
  from kubric import core
  from kubric import randomness
  from kubric.core import color
label_desc: Use image node_id 4 for calling a global function with example usage: add_hdri_dome(kubasic_source, scene, background_hdri) and returns: dome