Optimize isset, empty, add support for __isset