code: def _flagdef_for_candidate_names(opdef, names):
      for name in names:
          flagdef = opdef.get_flagdef(name)
          if flagdef:
              return flagdef
      return None
  
imports: import click
  from guild import click_util
  from .None import ac_support
  from .None import remote_support
label_desc: Use image node_id 11 for calling a global function with example usage: _flagdef_for_candidate_names(opdef, names) and returns: None, flagdef