title: How to find value in string array using JSONPath?
body: <p>I am trying to filter a list of formParagraph objects where the hasContent property is true and the legalStatutes string array contains a string with 'AIA'.  issue is that 'AIA' is not always in zero position in the array.</p>
  
  <p>The below JSONPath only works if 'AIA' is first item in array.</p>
  
  <pre><code>   $.businessResponse.formParagraphList[ ? ((@.hasContent == true) &amp;&amp; (@.legalStatutes[0] == 'AIA'))] {
      "rbacUser": null,
      "businessResponse": {
          "formParagraphList": [{
                  "id": 1261,
                  "hasContent": true,
                  "legalStatutes": [
                      "Pre_AIA",
                      "AIA"
                  ]
              },
              {
                  "id": 67,
                  "hasContent": true,
                  "legalStatutes": [
                      "AIA",
                      "Pre_AIA"
                  ]
              },
              {
                  "id": 68,
                  "hasContent": true,
                  "legalStatutes": [
                      "Pre_AIA"
                  ]
              }
          ]
      }
  }
  </code></pre>
  
  <p>Is there a way to check for the existence of a specific string in a string array within a JSON object without knowing it's index using JSONPath?</p>