code: def _group_cmd_name(group_command_names, default_name):
      for cmd in group_command_names:
          if default_name in CMD_SPLIT_P.split(cmd.name):
              return cmd.name
      return default_name
  
imports: import contextlib
  import functools
  import json
  import os
  import re
  import click
  from click import shell_completion
  import guild
  from guild import python_util
label_desc: Use image node_id 2 for calling a global function with example usage: _group_cmd_name(group_command_names, default_name) and returns: default_name, cmd