title: Better way of doing a Null check in Dataweave Mule
body: <p>I usually do a null check in Dataweave, as below,</p>
  
  <blockquote>
    <p>{ payload.variableA when payload != null otherwise null }</p>
  </blockquote>
  
  <p>But one of my Collegue has suggested me to use default {} to reduce the null checks, like below,</p>
  
  <pre><code>%var x = payload default {}
  {
  payload.variableA
  }
  </code></pre>
  
  <p>As it improves readability, especially in complex transformations. </p>
  
  <p>But is it really a good practice to do this way? Will it cause any issues, like creating unnecessary empty objects?</p>