def check_arguments(params, *args)
      contains = true
      args.each do |arg|
        contains = false unless params.key? arg.to_sym
      end
      contains
    end
def check_arguments(params, *args)
      contains = true
      args.each do |arg|
        contains = false unless params.key? arg.to_sym
      end
      contains
    end
checks if all args are keys into the hash

 @return [Boolean]

 @param params [Hash] hash to check.
 @option *args [String] array of strings to check against the hash