code: def _filter_packages(self):
          
          global LOG_PLUGINS
  
          filter_plugins = filter_project_plugins()
          if not filter_plugins:
              if LOG_PLUGINS:
                  logger.info("No project filters are enabled. Skipping filtering")
                  LOG_PLUGINS = False
              return
  
          # Make a copy of self.packages_to_sync keys
          # as we may delete packages during iteration
          packages = list(self.packages_to_sync.keys())
          for package_name in packages:
              for plugin in filter_plugins:
                  if plugin.check_match(name=package_name):
                      if package_name not in self.packages_to_sync:
                          logger.debug(
                              f"{package_name} not found in packages to sync - "
                              + f"{plugin.name} has no effect here ..."
                          )
                      else:
                          del self.packages_to_sync[package_name]
docs: Run the package filtering plugins and remove any packages from the
          packages_to_sync that match any filters.
          - Logging of action will be done within the check_match methods