code: def check_same_dtype(x1, x2, message=""):
      if ivy.dtype(x1) != ivy.dtype(x2):
          message = (
              message
              if message != ""
              else (
                  f"{x1} and {x2} must have the same dtype ({ivy.dtype(x1)} vs"
                  f" {ivy.dtype(x2)})"
              )
          )
          raise ivy.utils.exceptions.IvyException(message)
  
imports: import ivy
label_desc: Use image node_id 14 for calling a global function with example usage: check_same_dtype(x1, x2, message) without return types