The any()
function returns true when the comparison operator in the argument returns true for any values in the argument array.
any(array_expression)
array_expression
: An expression that evaluates to an array of values to be checked.Returns a boolean value: true
if the comparison is true for any element in the array, false
otherwise.
any(http.request.headers["block-me"][*] == "true")