code: def _fnmatch_f(patterns):
      return lambda path: any((_fnmatch(path, p) for p in patterns))
  
imports: import fnmatch
  import glob
  import logging
  import os
  import re
  import shutil
  from guild import util
label_desc: Use image node_id 6 for calling the FileSelectRule obj's underlying member method code with example usage: obj._fnmatch_f(patterns) and returns: function