code: def get_new_symbol(name=None):
      """
      Returns a new symbol, optionally named.
  
      name: str (optional)
          Optional name that provides more readability. If the name specified is
          not available, an extra integer will be appended.
      """
      global k_used_symbols
      global k_num_internal_syms
  
      if name is not None:
          s = Symbol(name)
          if s in k_used_symbols:
              new_name = name + k_num_internal_syms
              msg = 'Symbol name "{}" already occupied. Renaming to {}'
              _logging.warning(msg.format(name, new_name))
              s = Symbol(new_name)
      else:
          s = Symbol("is" + str(k_num_internal_syms))
      k_num_internal_syms += 1
      return s
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import logging
  import numpy
  import sympy
  from .None import types
  from .block import Function
  from .var import Var
  from .types.symbolic import k_used_symbols, k_num_internal_syms
  from coremltools.converters.mil.input_types import InputType
label_desc: Use image node_id 2 for calling a global function with example usage: get_new_symbol(name) and returns: s