code: def fnmatch(name, pat):
      """Test whether FILENAME matches PATTERN.
  
      Patterns are Unix shell style:
  
      *       matches everything
      ?       matches any single character
      [seq]   matches any character in seq
      [!seq]  matches any char not in seq
  
      An initial period in FILENAME is not special.
      Both FILENAME and PATTERN are first case-normalized
      if the operating system requires it.
      If you don't want this, use fnmatchcase(FILENAME, PATTERN).
      """
      name = os.path.normcase(name)
      pat = os.path.normcase(pat)
      return fnmatchcase(name, pat)
  
file_path: cpython/Lib/fnmatch.py
imports: import os
  import posixpath
  import re
  import functools
label_desc: Use image node_id 1 for calling a global function with example usage: fnmatch(name, pat) and returns: fnmatchcase