title: Compare a sub set array with a master array in Mule 4 (DW2.0)
body: <p>I have a fixed elements array as : <code>['a', 'b', 'c', 'd']</code> This will be used as a base while comparing the input arrays (that can be subset of the master array)</p>
  
  <p>I get an input array of various combinations that may satisfy below set of scenarios:</p>
  
  <p><code>['a', 'c']</code> should return <code>true</code> — can be sub set of master set</p>
  
  <p><code>['a', 'b', 'd', 'c']</code> should return <code>true</code> — no order restrictions and can be same as master set</p>
  
  <p><code>['a', 'b', 'c', 'd', 'e']</code> should return <code>false</code>  — can’t contain additional element</p>
  
  <p><code>['e', 'f']</code> should return <code>false</code>  — no matching elements found</p>
  
  <p>and finally:</p>
  
  <p><code>['a']</code> should return <code>true</code> — can be sub set and can contain single element too, however that single element should be always <code>'a'</code></p>
  
  <p><code>['b','c','d']</code> should return <code>false</code>  — all input arrays must contain at least the element <code>'a'</code></p>