code: def test_choose_random_backend(excluded):
      backend = ivy.choose_random_backend(excluded=excluded)
      if excluded is None:
          assert backend in list(_backend_dict.keys())
      else:
          backends_list = list(_backend_dict.keys())
          backends_list.remove(excluded)
          assert backend in backends_list
  
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 1 for calling a global function with example usage: test_choose_random_backend(excluded) without return types