code: def _is_list_or_tuple(inp):
      return isinstance(inp, (list, tuple))
  
imports: from typing import Optional, Tuple, Union, Sequence
  import paddle
  import ivy
  from ivy.func_wrapper import with_unsupported_device_and_dtypes
  from ivy.utils.exceptions import IvyNotImplementedException
  from ivy.functional.ivy.layers import _handle_padding, _get_x_data_format, _deconv_length
  import ivy.functional.backends.paddle
  from .None import backend_version
label_desc: Use image node_id 1 for calling a global function with example usage: _is_list_or_tuple(inp) and returns: isinstance