code: def _matches(s, patterns):
      for p in patterns:
          if p.match(s):
              return True
      return False
  
imports: import errno
  import logging
  import os
  from guild import guildfile
  from guild import util
label_desc: Use image node_id 7 for calling a global function with example usage: _matches(s, patterns) and returns: False, True