title: Check if all the properties of class are null
body: <p>I have the following code that should check if all the properties of class are null. I tried the code below but it didn't work. Why?
  <img src="https://i.stack.imgur.com/hzBRr.png" alt="enter image description here"></p>