title: use jq to return a boolean if more than one key has a specified value
body: <p>I have a JSON blob. It contains a queue of items to process. I am using jq to filter it. Each object in this queue has the key <code>downloadId</code>. I can return a list of objects where <code>downloadId</code> has a certain value with this filter:</p>
  
  <pre><code>.[] | select((.downloadId) == "ABCA01479FCAB77D0A8A5C499D5ABAA147E97B47")
  </code></pre>
  
  <p>But what I really need is a boolean that will return <code>true</code> if there is more than one object in the queue with that value for <code>downloadId</code>. I've been looking over the jq manual but I'm not quite sure how to do that. I can try using <code>any</code></p>
  
  <pre><code>any(.[]; .downloadId == "ABCA01479FCAB77D0A8A5C499D5ABAA147E97B47")
  </code></pre>
  
  <p>but that returns true if there is one instance of that value, not more than one.</p>
  
  <p>Here is a blob:</p>
  
  <pre><code>[
    {
      "sizeleft": 805679928.0,
      "timeleft": "00:00:00",
      "estimatedCompletionTime": "2019-05-03T17:30:31.370856Z",
      "status": "Paused",
      "trackedDownloadStatus": "Ok",
      "statusMessages": [],
      "downloadId": "1C2DE46A5B4258BE7AC47FEFAE71432897417126",
      "id": 1065601863
    },
    {
      "sizeleft": 836459293.0,
      "timeleft": "00:00:00",
      "estimatedCompletionTime": "2019-05-03T17:30:31.370864Z",
      "status": "Paused",
      "trackedDownloadStatus": "Ok",
      "statusMessages": [],
      "downloadId": "728084A13FD172FED437C6AE503A8CF4A8D317AE",
      "id": 1177597916
    },
    {
      "sizeleft": 836459293.0,
      "timeleft": "00:00:00",
      "estimatedCompletionTime": "2019-05-03T17:30:31.370864Z",
      "status": "Paused",
      "trackedDownloadStatus": "Ok",
      "statusMessages": [],
      "downloadId": "ABCA01479FCAB77D0A8A5C499D5ABAA147E97B47",
      "id": 1177597916
    }
  ]
  </code></pre>