code: def _match_dirs(model, abs_dirs):
      if not abs_dirs:
          return True
      return any(
          (
              os.path.abspath(model.modeldef.guildfile.dir) == abs_dir
              for abs_dir in abs_dirs
          )
      )
  
file_path: guildai/guild/commands/models_impl.py
imports: import os
  from guild import cli
  from guild import cmd_impl_support
  from guild import config
  from guild import guildfile
  from guild import model
  from guild import util
label_desc: Use image node_id 4 for calling a global function with example usage: _match_dirs(model, abs_dirs) and returns: any, True