code: def assert_type(obj, *types):
      assert isinstance(obj, types), (
          "Invalid type: \nActual: "
          + str(type(obj))
          + " ("
          + str(obj)
          + ")\nExpected: "
          + str(types)
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: assert_type(obj) without return types