Checking for valid node object before accessing it's properties.