(self, **kwargs: Any)
return True
Check if the package name matches against a project that is allowlisted
        in the configuration.

        Parameters
        ==========
        name: str
            The normalized package name of the package/project to check against
            the blocklist.

        Returns
        =======
        bool:
            True if it matches, False otherwise.
Check if the package name matches against a project that is allowlisted
        in the configuration.
Check if the package name matches against a project that is allowlisted in the configuration .
def check_match(self, **kwargs: Any) -> bool:
        """
        Check if the package name matches against a project that is allowlisted
        in the configuration.

        Parameters
        ==========
        name: str
            The normalized package name of the package/project to check against
            the blocklist.

        Returns
        =======
        bool:
            True if it matches, False otherwise.
        """
        if not self.allowlist_package_names:
            return False

        name = kwargs.get("name", None)
        if not name:
            return False

        if canonicalize_name(name) in self.allowlist_package_names:
            logger.info(f"Package {name!r} is allowlisted")
            return False
        return True
def check_match ( self , * * kwargs : Any ) -> bool : if not self . allowlist_package_names : return False name = kwargs . get ( "name" , None ) if not name : return False if canonicalize_name ( name ) in self . allowlist_package_names : logger . info ( f"Package {name!r} is allowlisted" ) return False return True