I need to check if value is defined as anything, including null. isset treats null values as undefined and returns false. Take the following as an
isset
false
If you are dealing with object properties whcih might have a value of NULL you can use: property_exists() instead of isset()
isset()
As opposed with isset(), property_exists() returns TRUE even if the property has the value NULL.