(
        self,
        hash_name,   # type: str
        hex_digest,  # type: str
    )
return hex_digest in self._allowed.get(hash_name, [])
Return whether the given hex digest is allowed.
Return whether the given hex digest is allowed.
Return whether the given hex digest is allowed .
def is_hash_allowed(
        self,
        hash_name,   # type: str
        hex_digest,  # type: str
    ):
        """Return whether the given hex digest is allowed."""
        return hex_digest in self._allowed.get(hash_name, [])
def is_hash_allowed ( self , hash_name , # type: str hex_digest , # type: str ) : return hex_digest in self . _allowed . get ( hash_name , [ ] )