code: def _to_tuple(a):
      """Converts int or iterable to tuple"""
      if a is None:
          return tuple()
      if isinstance(a, Iterable):
          return tuple(a)
      return (a,)
  
imports: from collections.abc import Iterable
  import warnings
  from typing import Sequence
label_desc: Use image node_id 1 for calling a global function with example usage: _to_tuple(a) and returns: a, tuple, tuple