code: def _filter_model(pkg, args):
      to_search = [pkg["name"], pkg["summary"]]
      return util.match_filters(args.terms, to_search)
  
file_path: guildai/guild/commands/packages_impl.py
imports: import logging
  import os
  import re
  from guild import cli
  from guild import namespace
  from guild import pip_util
  from guild import util
label_desc: Use image node_id 6 for calling a global function with example usage: _filter_model(pkg, args) and returns: util