Test if property was set, instead of testing for non-null value

Allows to set properties to null. Needed when from the programmatic point of view "" != null