code: def _check_match(self, file_desc) -> bool:
          
  
          # source dist: never filter out
          pt = file_desc.get("packagetype")
          if pt == "sdist":
              return False
  
          # Windows installer
          if pt in self._packagetypes:
              return True
  
          fn = file_desc["filename"]
          for i in self._patterns:
              if i in fn:
                  return True
  
          return False
docs: Check if a release version matches any of the specificed patterns.
  
          Parameters
          ==========
          name: file_desc
              file description entry
  
          Returns
          =======
          bool:
              True if it matches, False otherwise.