I don't know. I just followed the original code and what I found by grepping:

zamboni % fgrep check_addon_ownership mkt  | wc -l
23

and

zamboni % fgrep Addons mkt | wc -l
9

(8 of those 9 matches are permission checks)