code: def ac_dir(incomplete):
      if active_shell_supports_directives():
          return ["!!dir"]
      return _list_dir(
          os.getcwd(),
          filters=[os.path.isdir, _omit_pycache],
          incomplete=incomplete,
      )
  
imports: import os
label_desc: Use image node_id 12 for calling a global function with example usage: ac_dir(incomplete) and returns: _list_dir, list