(self, url, allowlist)
return False
Does a fnmatch against the allowlist.

        Args:
            url: The url
            allowlist: The allowlist, list-like
        Returns:
            Boolean with the result
Does a fnmatch against the allowlist.
Does a fnmatch against the allowlist .
def _is_url_allowlisted(self, url, allowlist):
        """Does a fnmatch against the allowlist.

        Args:
            url: The url
            allowlist: The allowlist, list-like
        Returns:
            Boolean with the result
        """

        for url_pattern in allowlist:
            if fnmatch.fnmatchcase(url, url_pattern):
                return True

        return False
def _is_url_allowlisted ( self , url , allowlist ) : for url_pattern in allowlist : if fnmatch . fnmatchcase ( url , url_pattern ) : return True return False