lib/parameters/class_methods.rb
def has_param?(name)
      name = name.to_sym

      ancestors.each do |ancestor|
        if ancestor.included_modules.include?(Parameters)
          return true if ancestor.params.has_key?(name)
        end
      end

      return false
    end
def has_param?(name)
      name = name.to_sym

      ancestors.each do |ancestor|
        if ancestor.included_modules.include?(Parameters)
          return true if ancestor.params.has_key?(name)
        end
      end

      return false
    end
Determines if a class parameter exists with the given name.

 @return [Boolean]
   Specifies whether or not there is a class parameter with the
   specified name.

 @api semipublic