title: how to check if a parameter exists in params?
body: <pre><code>for ( boldParam in [para1, para2, para2, para4, para5] ) {
      if(/* boldParam exists in params */)
          ilike(boldParam,'%' + params.boldParam + '%')
      }
  }
  </code></pre>
  
  <p>I would like to write something like above. I'm trying to avoid the following multiple if statements:</p>
  
  <pre><code>if (params.para1)
       ilike('para1','%' + params.para1+ '%')
  if (params.para2)
       ilike('para2','%' +params.para2+ '%')
  if (params.para3)
       ilike('para3','%' + params.para3+ '%')
  </code></pre>