def valid?(params, bool_response = true)
      requires params
      res = DataSift.request(:POST, 'push/validate', @config, params)
      bool_response ? res[:http][:status] == 200 : res
    end
def valid?(params, bool_response = true)
      requires params
      res = DataSift.request(:POST, 'push/validate', @config, params)
      bool_response ? res[:http][:status] == 200 : res
    end
Check that a Push subscription definition is valid

 @param params [Hash] Hash of Push subscription parameters
 @param bool_response [Boolean] True if you want a boolean response. False
   if you want the full response object