code: def test_dynamic_backend_context_manager():
      with ivy.dynamic_backend_as(True):
          a = ivy.array([0.0, 1.0])
          b = ivy.array([2.0, 3.0])
  
      with ivy.dynamic_backend_as(False):
          c = ivy.array([4.0, 5.0])
          d = ivy.array([6.0, 7.0])
  
      assert a.dynamic_backend is True
      assert b.dynamic_backend is True
      assert c.dynamic_backend is False
      assert d.dynamic_backend is False
  
file_path: ivy/ivy_tests/test_ivy/test_misc/test_backend_utils/test_backend_handler.py
imports: from packaging import version
  import pytest
  import importlib
  import types
  import numpy
  import ivy
  from ivy.utils.backend.handler import _backend_dict
  from ivy_tests.test_ivy.helpers.available_frameworks import _available_frameworks
label_desc: Use image node_id 4 for calling a global function with example usage: test_dynamic_backend_context_manager() without return types