code: def to_snake_case(name):
      """Convert a camel case string to snake case.
  
      Args:
          name (str): String to convert to snake case.
  
      Returns:
          str: String converted to snake case.
      """
      s1 = re.sub("(.)([A-Z][a-z]+)", r"\1_\2", name)
      return re.sub("([a-z0-9])([A-Z])", r"\1_\2", s1).lower()
  
imports: from __future__ import absolute_import
  import re
label_desc: Use image node_id 2 for calling a global function with example usage: to_snake_case(name) and returns: re