CS-4870: Fixes check for is_null on variable that is array

Null was the initial value, but gets overwritten on construction of the object.
Then the NULL state is represented by an empty Array, according to that, the
check is changed.