Added isset and isEmptyObject