code: def _transform_key_part(part):
      try:
          if str(int(part)) == part:
              return f"{int(part):09d}"
      except ValueError as e:
          pass
  
      return part
  
imports: from typing import Callable, Dict, List, TYPE_CHECKING
  from labml.internal.util.strings import is_pattern_match
label_desc: Use image node_id 1 for calling a global function with example usage: _transform_key_part(part) and returns: part, int