code: def _flags_to_skip(opdef):
      if opdef.flags_import_skip:
          return set(opdef.flags_import_skip)
      return set()
  
imports: import logging
  import os
  from guild import cli
  from guild import guildfile
  from guild import util
  from guild import yaml_util
label_desc: Use image node_id 6 for calling a global function with example usage: _flags_to_skip(opdef) and returns: set, set