title: JQ: Select when attribute value exists in a bash array
body: <p>I'm using jq 1.4.
  I trying to select elements when VPCZoneIdentifier exists in my <code>$selected_subnets</code> (bash variable).</p>
  
  <pre><code>selected_subnets="valueA valueB"
  
  input='{"elements":[
             {"name": "nameA", "VPCZoneIdentifier": "valueA"}, 
             {"name": "nameB", "VPCZoneIdentifier": "valueB"}, 
             {"name": "nameC", "VPCZoneIdentifier": "valueC"}
         ]}'
  </code></pre>
  
  <p><code>test</code> and <code>match</code> fn are only available on v1.5.</p>