@Override
   public boolean dependsOnAddon(final Project project, AddonId addonId)
   {
      DependencyInstaller dependencyInstaller = getDependencyInstaller();
      Dependency dependency = toDependency(addonId);
      return dependencyInstaller.isInstalled(project, dependency);
   }
@ Override public boolean dependsOnAddon ( final Project project , AddonId addonId ) { DependencyInstaller dependencyInstaller = getDependencyInstaller ( ) ; Dependency dependency = toDependency ( addonId ) ; return dependencyInstaller . isInstalled ( project , dependency ) ; }
Checks if the {@link Project} depends on the provided {@link AddonId}