def dependency?(software)
      name = software.is_a?(Software) ? software.name : software
      dependencies.include?(name)
    end
def dependency?(software)
      name = software.is_a?(Software) ? software.name : software
      dependencies.include?(name)
    end
Indicates whether the given  +software+ is defined as a software component
 of this project.

 @param [String, Software] software
   the software or name of the software to find

 @return [true, false]