code: def _get_unused_parameter_name(name, already_used_names):
      """Returns a string `name` different from all currently used names."""
      already_used_names = set(already_used_names)
      i = 1
      unique_name = name
      while unique_name in already_used_names:
          # Start at 0001 since the already-used bare `name` was implicitly 0000.
          unique_name = name + "_{:04d}".format(i)
          i += 1
      return unique_name
  
file_path: probability/tensorflow_probability/python/internal/trainable_state_util.py
imports: import collections
  import functools
  import inspect
  import re
  import types
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import samplers
  from tensorflow_probability.python.internal import structural_tuple
label_desc: Use image node_id 2 for calling a global function with example usage: _get_unused_parameter_name(name, already_used_names) and returns: unique_name