how about add an overloaded method CheckDependencies(const AddonPtr &addon) to save other 3 places changes?