code: def contains_glob(path_to_directory, pattern, wanted=None):
      
      if not path_to_directory:
          return False
      needed = make_needed(pattern, path_to_directory, wanted)
      for name in _names_in_directory(path_to_directory):
          if needed(name):
              return True
      return False
docs: Whether the given path contains an item matching the given glob