code: def test_invalid_dtype(
      *,
      dtype_in,
      backend_fw,
  ):
      with BackendHandler.update_backend(backend_fw) as ivy_backend:
          dtype_in = dtype_in[0]
          res = ivy_backend.invalid_dtype(dtype_in)
          invalid_dtypes = ivy_backend.invalid_dtypes
          if dtype_in in invalid_dtypes:
              assert res is True, (
                  f"fDtype = {dtype_in!r} is a valid dtype for {backend_fw}, butresult ="
                  f" {res}"
              )
          else:
              assert res is False, (
                  f"fDtype = {dtype_in!r} is not a valid dtype for {backend_fw},"
                  f" butresult = {res}"
              )
  
imports: import numpy
  from hypothesis import strategies
  import typing
  import ivy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_test, BackendHandler
label_desc: Use image node_id 28 for calling a global function with example usage: test_invalid_dtype() without return types