def ignore_rule_matches_result(ignore_rule, pa11y_result):
return all(<EOL>fnmatch.fnmatch(pa11y_result.get(attr), ignore_rule.get(attr))<EOL>for attr in ignore_rule.keys()<EOL>)<EOL>
Returns a boolean result of whether the given ignore rule matches
the given pa11y result. The rule only matches the result if *all*
attributes of the rule match.