code: def _is_onnx_list(value):
      return isinstance(value, Iterable) and not isinstance(
          value, (str, bytes, torch.Tensor)
      )
  
imports: from __future__ import annotations
  import dataclasses
  import re
  import typing
  from typing import Any, Dict, Iterable, Optional, Sequence, Tuple, Union
  import torch
  from torch import _C
  from torch._C import _onnx
  from torch.onnx._globals import GLOBALS
  from torch.onnx._internal import _beartype, registration
label_desc: Use image node_id 5 for calling a global function with example usage: _is_onnx_list(value) and returns: unknown